2017 © Pedro PelĂĄez
 

library exception

OSF standardized exceptions

image

osflab/exception

OSF standardized exceptions

  • Saturday, April 21, 2018
  • by Guillaume Ponçon
  • Repository
  • 1 Watchers
  • 0 Stars
  • 23 Installations
  • PHP
  • 24 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

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., (*1)

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., (*2)

Installation

You need at least php 7.1 and composer:, (*3)

sudo apt install composer

In your application via composer

This is the recommended way to use this feature in a non-osf project., (*4)

Just add osflab/exception in your composer.json file., (*5)

From github

To test the component or participate in its development., (*6)

git clone https://github.com/osflab/exception.git
cd exception && composer update

Unit tests launch:, (*7)

vendor/bin/runtests

The Versions

21/04 2018

3.0.x-dev

3.0.9999999.9999999-dev https://github.com/osflab/exception

OSF standardized exceptions

  Sources   Download

AGPL-3.0-or-later

The Requires

  • php ^7.1.3

 

The Development Requires

by Avatar Guillaume Ponçon

21/04 2018

dev-master

9999999-dev https://github.com/osflab/exception

OSF standardized exceptions

  Sources   Download

AGPL-3.0-or-later

The Requires

  • php ^7.1.3

 

The Development Requires

by Avatar Guillaume Ponçon

26/02 2018

3.0.0

3.0.0.0 https://github.com/osflab/exception

OSF standardized exceptions

  Sources   Download

AGPL-3.0-or-later

The Requires

  • php ^7.1.0

 

The Development Requires

by Avatar Guillaume Ponçon