BTW, the JSON error that will be written in case of an Exception looks like this:

{
    "statusMessage": "..."
}

Where the string is sourced from e.msg.