ApiMessageException
extends SportsDbException
in package
FinalYes
The API answered with a message instead of data: an unrecognised {"Message": ...} body, or a rejected parameter, which v1 reports as text where the records belong: {"seasons": "Invalid League ID passed"}.
Table of Contents
Properties
- $apiMessage : string
Methods
- __construct() : mixed
Properties
$apiMessage read-only
public
string
$apiMessage
Methods
__construct()
public
__construct(string $message, string $apiMessage) : mixed
Parameters
- $message : string
- $apiMessage : string