original_string: protected function respondWithError(
          $message = 'Bad Request',
          $code = SymfonyResponse::HTTP_BAD_REQUEST,
          array $headers = []
      ) {
          return abort($code, $message, $headers);
      }
code: protected function respondWithError(
          $message = 'Bad Request',
          $code = SymfonyResponse::HTTP_BAD_REQUEST,
          array $headers = []
      ) {
          return abort($code, $message, $headers);
      }
code_tokens: protected function respondWithError ( $ message = 'Bad Request' , $ code = SymfonyResponse :: HTTP_BAD_REQUEST , array $ headers = [ ] ) { return abort ( $ code , $ message , $ headers ) ; }
docstring: Return server error response in json format
  
  @param string $message Custom error message
  @param int    $code    Error code
  @param array  $headers HTTP headers
  
  @return mixed
docstring_tokens: Return server error response in json format