PHP 클래스 System\Error

파일 보기 프로젝트 열기: rwarasaurus/nano 1 사용 예제들

공개 메소드들

메소드 설명
exception ( Exceptio\Exception $e ) Exception handler
log ( $e ) Exception logger
native ( $code, $message, $file, $line ) Error handler
register ( ) Register Exception handler
shutdown ( ) Shutdown handler
unregister ( ) Unregister Exception handler

메소드 상세

exception() 공개 정적인 메소드

Exception handler
public static exception ( Exceptio\Exception $e )
$e Exceptio\Exception

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 )

register() 공개 정적인 메소드

Register Exception handler
public static register ( )

shutdown() 공개 정적인 메소드

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

unregister() 공개 정적인 메소드

Unregister Exception handler
public static unregister ( )