Error
public class Error
Method Summary | |
---|---|
static void | register() 注册异常处理 |
static void | appException(\Exception|\Throwable e) Exception Handler |
static void | appError(integer errno, integer errstr, string errfile, integer errline, array errcontext) Error Handler |
static void | Shutdown Handler |
protected static bool | isFatal(int type) 确定错误类型是否致命 |
static Handle | Get an instance of the exception handler. |
public static void register()
注册异常处理
public static void appException(\Exception|\Throwable e)
Exception Handler
public static void appError(integer errno, integer errstr, string errfile, integer errline, array errcontext)
Error Handler
public static void appShutdown()
Shutdown Handler
protected static bool isFatal(int type)
确定错误类型是否致命
public static Handle getExceptionHandler()
Get an instance of the exception handler.