How i can manage all error of my restful server build with Restify of NodeJS? For example internal errors, database errors, validate, required params, not founds, athorizeds... And uncaughtException and return custom response to browser?
How i can design the share of data and errors between controllers?
Thanks