original_string: protected function _error($message, $code)
      {
          header("HTTP/1.0 {$code} {$message}");
          echo $message;
  
          TableRegistry::get('Field.FieldInstances')->connection()->disconnect();
          exit(0);
      }
code: protected function _error($message, $code)
      {
          header("HTTP/1.0 {$code} {$message}");
          echo $message;
  
          TableRegistry::get('Field.FieldInstances')->connection()->disconnect();
          exit(0);
      }
code_tokens: protected function _error ( $ message , $ code ) { header ( "HTTP/1.0 {$code} {$message}" ) ; echo $ message ; TableRegistry :: get ( 'Field.FieldInstances' ) -> connection ( ) -> disconnect ( ) ; exit ( 0 ) ; }
docstring: Sends a JSON message error.
  
  @param string $message The message
  @param int $code A unique code identifier for this message
  @return void Stops scripts execution
docstring_tokens: Sends a JSON message error .