...
All exceptions should be mapped in an error payload. Here is an example how a JSON payload should look like.
Code Block |
---|
{ "errors": [ { "userMessagemessage": "Sorry, the requested resource does not exist", "internalMessage": "No dog named bailey found", "code": 34, "more info": "... " } ] } |
Need to be discussed: Should ONAP define a unified error response format across projects?
...