2017 © Pedro Peláez
 

library exception

A PHP library for improving the use of exceptions.

image

phine/exception

A PHP library for improving the use of exceptions.

  • Thursday, December 12, 2013
  • by kherge
  • Repository
  • 0 Watchers
  • 4 Stars
  • 328,048 Installations
  • PHP
  • 11 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 4 % Grown

The README.md

Exception

Build Status Coverage Status Latest Stable Version Total Downloads, (*1)

Adds functionality to the standard Exception class., (*2)

  • Create new exceptions based on sprintf() format.
  • Create new exceptions using the last error (error_get_last()).

Usage

use Phine\Exception\Exception;

$exception = Exception::createUsingFormat(
    'This is my %s message.',
    'formatted',
    $previousException
);

echo $undefined;

$exception = Exception::createUsingLastError();

Requirement

  • PHP >= 5.3.3

Installation

Via Composer:, (*3)

$ composer require "phine/exception=~1.0"

Documentation

You can find the documentation in the docs/ directory., (*4)

License

This library is available under the MIT license., (*5)

The Versions

12/12 2013

dev-master

9999999-dev https://github.com/phine/lib-exception

A PHP library for improving the use of exceptions.

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

The Development Requires

exception

27/08 2013

1.0.0

1.0.0.0 https://github.com/phine/lib-exception

A PHP library for improving the use of exceptions.

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

The Development Requires

exception