Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 238 Bytes

File metadata and controls

11 lines (8 loc) · 238 Bytes

Errors handling

Last error

You can check for occurred errors after requests with method getLastError(). It returns string that contains error from you last request to API:

$error = $bot->getLastError();
echo $error;