PHP Класс System\error

Показать файл Открыть проект

Открытые методы

Метод Описание
exception ( $e ) Exception handler
log ( $e ) Exception logger
native ( $code, $message, $file, $line, $context ) Error handler
shutdown ( ) Shutdown handler

Описание методов

exception() публичный статический Метод

This will log the exception and output the exception properties formatted as html or a 500 response depending on your application config
public static exception ( $e )

log() публичный статический Метод

Log the exception depending on the application config
public static log ( $e )

native() публичный статический Метод

This will catch the php native error and treat it as a exception which will provide a full back trace on all errors
public static native ( $code, $message, $file, $line, $context )

shutdown() публичный статический Метод

This will catch errors that are generated at the shutdown level of execution
public static shutdown ( )