Download the PHP package osflab/exception without Composer
On this page you can find all versions of the php package osflab/exception. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download osflab/exception
More information about osflab/exception
Files in osflab/exception
Download osflab/exception
More information about osflab/exception
Files in osflab/exception
Vendor osflab
Package exception
Short Description OSF standardized exceptions
License AGPL-3.0-or-later
Homepage https://github.com/osflab/exception
Package exception
Short Description OSF standardized exceptions
License AGPL-3.0-or-later
Homepage https://github.com/osflab/exception
Please rate this library. Is it a good library?
Informations about the package exception
OSF Exception component
The root OSF exceptions have a type corresponding to the underlying processing. In this way, they can be used explicitly to display errors, perform rollback processing, record debugging information, or issue alerts.
Exception types
- ArchException: to report a technical malfunction
- DisplayedException: displayed to the end user
- DbException: used to perform databases rollbacks
- PhpErrorException: PHP error handling
- OsfException: root exception of OSF components
- AlertException: launch a bootstrap alert (require osflab/view)
- HttpException: generate an error with a specific HTTP code
These exceptions are used in OSF-based components and applications.
Installation
You need at least php 7.1 and composer
:
In your application via composer
This is the recommended way to use this feature in a non-osf project.
Just add osflab/exception
in your composer.json file.
From github
To test the component or participate in its development.
Unit tests launch:
All versions of exception with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.1.0
The package osflab/exception contains the following files
Loading the files please wait ....