You are here

public static property Error::$errorMessages in JSON-RPC 8

Same name and namespace in other branches
  1. 2.x src/Object/Error.php \Drupal\jsonrpc\Object\Error::errorMessages

File

src/Object/Error.php, line 22

Class

Error
Error class to help implement JSON RPC's spec for errors.

Namespace

Drupal\jsonrpc\Object

Code

public static $errorMessages = [
  -32700 => 'Parse Error',
  -32600 => 'Invalid Request',
  -32601 => 'Method Not Found',
  -32602 => 'Invalid Params',
  -32603 => 'Internal Error',
];