PHP Class Exceptional

Show file Open project: ankane/exceptional-php Class Usage Examples

Public Properties

Property Type Description
$action
$api_key
$blacklist
$client_name
$context
$controller
$exceptions
$host
$previous_error_handler
$previous_exception_handler
$protocol_version
$proxy_host
$proxy_port
$use_ssl
$version

Public Methods

Method Description
blacklist ( $filters = [] )
clear ( )
context ( $data = [] )
handle_error ( $errno, $errstr, $errfile, $errline )
handle_exception ( $exception, $call_previous = true ) * Exception handle class. Pushes the current exception onto the exception stack and calls the previous handler, if it exists. Ensures seamless integration.
proxy ( $host, $port )
setup ( $api_key, $use_ssl = false ) * Installs Exceptional as the default exception handler
shutdown ( )

Method Details

blacklist() static public method

static public blacklist ( $filters = [] )

clear() static public method

static public clear ( )

context() static public method

static public context ( $data = [] )

handle_error() static public method

static public handle_error ( $errno, $errstr, $errfile, $errline )

handle_exception() static public method

* Exception handle class. Pushes the current exception onto the exception stack and calls the previous handler, if it exists. Ensures seamless integration.
static public handle_exception ( $exception, $call_previous = true )

proxy() static public method

static public proxy ( $host, $port )

setup() static public method

* Installs Exceptional as the default exception handler
static public setup ( $api_key, $use_ssl = false )

shutdown() static public method

static public shutdown ( )

Property Details

$action static public property

static public $action

$api_key static public property

static public $api_key

$blacklist static public property

static public $blacklist

$client_name static public property

static public $client_name

$context static public property

static public $context

$controller static public property

static public $controller

$exceptions static public property

static public $exceptions

$host static public property

static public $host

$previous_error_handler static public property

static public $previous_error_handler

$previous_exception_handler static public property

static public $previous_exception_handler

$protocol_version static public property

static public $protocol_version

$proxy_host static public property

static public $proxy_host

$proxy_port static public property

static public $proxy_port

$use_ssl static public property

static public $use_ssl

$version static public property

static public $version