heimdall icon indicating copy to clipboard operation
heimdall copied to clipboard

Allow error objects from callback

Open binarymax opened this issue 11 years ago • 1 comments

Allow callbacks into heimdall responses to supply error objects that have granular error data and types. For example - allow a command to callback with a 404 error, or a 403 error, or a 500 error, and include custom messages for each.

binarymax avatar Mar 29 '14 18:03 binarymax

Must be able to provide an array of error messages. Especially for response to validation errors.

binarymax avatar Apr 03 '14 13:04 binarymax