Returns an error response to the client from a callback. Code should exit after this call.