original_string: private static function setErrors($errors) {
  
          $std_rpc_errors = array(
              -32700 => "Parse error",
              -32701 => "Parse error - Unsupported encoding",
              -32702 => "Parse error - Invalid character for encoding",
              -32600 => "Invalid Request",
              -32601 => "Method not found",
              -32602 => "Invalid params",
              -32603 => "Internal error",
              -32500 => "Application error",
              -32400 => "System error",
              -32300 => "Transport error",
              // Predefined Comodojo Errors
              -31000 => "Multicall is available only in XMLRPC",
              -31001 => "Recursive system.multicall forbidden"
          );
  
          foreach ( $std_rpc_errors as $code => $message ) {
  
              $errors->add($code, $message);
  
          }
  
      }
code: private static function setErrors($errors) {
  
          $std_rpc_errors = array(
              -32700 => "Parse error",
              -32701 => "Parse error - Unsupported encoding",
              -32702 => "Parse error - Invalid character for encoding",
              -32600 => "Invalid Request",
              -32601 => "Method not found",
              -32602 => "Invalid params",
              -32603 => "Internal error",
              -32500 => "Application error",
              -32400 => "System error",
              -32300 => "Transport error",
              // Predefined Comodojo Errors
              -31000 => "Multicall is available only in XMLRPC",
              -31001 => "Recursive system.multicall forbidden"
          );
  
          foreach ( $std_rpc_errors as $code => $message ) {
  
              $errors->add($code, $message);
  
          }
  
      }
code_tokens: private static function setErrors ( $ errors ) { $ std_rpc_errors = array ( - 32700 => "Parse error" , - 32701 => "Parse error - Unsupported encoding" , - 32702 => "Parse error - Invalid character for encoding" , - 32600 => "Invalid Request" , - 32601 => "Method not found" , - 32602 => "Invalid params" , - 32603 => "Internal error" , - 32500 => "Application error" , - 32400 => "System error" , - 32300 => "Transport error" , // Predefined Comodojo Errors - 31000 => "Multicall is available only in XMLRPC" , - 31001 => "Recursive system.multicall forbidden" ) ; foreach ( $ std_rpc_errors as $ code => $ message ) { $ errors -> add ( $ code , $ message ) ; } }
docstring: Inject standard and RPC errors
  
  @param Errors $errors
docstring_tokens: Inject standard and RPC errors