An open API service indexing awesome lists of open source software.

https://github.com/venndev/verrorhandler

- Handling exceptions or errors coming from the PocketMine server or regular php applications!
https://github.com/venndev/verrorhandler

Last synced: 4 months ago
JSON representation

- Handling exceptions or errors coming from the PocketMine server or regular php applications!

Awesome Lists containing this project

README

          

# VErroHandler
- Handling exceptions or errors coming from the PocketMine server or regular php applications!

# Features
- Handle errors and exceptions in your server or php application easily!
- Avoid unexpected exceptions or errors that close the server or application!

# Example
```php
VErrorHandler::init();
VErrorHandler::register(function (string $errorMessage) {
throw new ErrorException($errorMessage); // you can throw new ErrorException or not if you did not want stop server or your application!
});
```