heimdall
heimdall copied to clipboard
Allow error objects from callback
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.
Must be able to provide an array of error messages. Especially for response to validation errors.