Errors are formatted as follows:

endpoint

JSON – output

{
 type: ‘Error type’',
 exception: error.message,
 backtrace: error.backtrace,
 status: error.code
}