You are here

public static property Error::$errorMeanings in JSON-RPC 2.x

Same name and namespace in other branches
  1. 8 src/Object/Error.php \Drupal\jsonrpc\Object\Error::errorMeanings

File

src/Object/Error.php, line 30

Class

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

Namespace

Drupal\jsonrpc\Object

Code

public static $errorMeanings = [
  -32700 => 'Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text.',
  -32600 => 'The JSON sent is not a valid Request object.',
  -32601 => "The method '%s' does not exist/is not available.",
  -32602 => 'Invalid method parameter(s).',
  -32603 => 'Internal JSON-RPC error.',
];