Create a failure response with the given error message and error type. The content-type is always set to application/json in this case.
See Implementation
Create a failure response with the given error message and error type. The content-type is always set to application/json in this case.