Skip to content
This repository has been archived by the owner on Dec 30, 2020. It is now read-only.

Latest commit

 

History

History
11 lines (8 loc) · 238 Bytes

errors-handling.md

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;