You are here

public function Error::getMessage in JSON-RPC 2.x

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

Get the error's short description.

Return value

string The error message.

File

src/Object/Error.php, line 98

Class

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

Namespace

Drupal\jsonrpc\Object

Code

public function getMessage() {
  return $this->message;
}