EnglishReferenceExceptions
JsonRpcException v1.0.0
The MyShows API returned an error in the JSON-RPC envelope.
Description: The MyShows API returned an error in the JSON-RPC envelope.
Namespace: DevCraftClub\MyShows\Exception
Since: 1.0.0
See also:
Methods
__construct(int|string $rpcCode, string $message, array $data = []): void
| Parameter | Type | Description |
|---|---|---|
$rpcCode | int | string |
$message | string | Message from the API. |
$data | array | Extra error data, if any. Default: []. |
Returns: void
rpcCode(): int|string
Returns: int|string
rpcData(): array
Description: Returns array<mixed>.
Returns: array