seregazhuk/php-pinterest-bot

View on GitHub
docs/errors-handling.md

Summary

Maintainability
Test Coverage
# 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:
 
```php
$error = $bot->getLastError();
echo $error;
```