failed
Response
Method to get the payload for a failed response
Return
the payload for a failed response as String
Parameters
error
: the error message to send as response