Properties

$disabled

$disabled : 

Type

$isstrict

$isstrict : 

Type

$iswarning

$iswarning : 

Type

$error_id

$error_id : 

Type

$error_file

$error_file : 

Type

$error_line

$error_line : 

Type

$islogerror

$islogerror : 

Type

$type

$type : 

Type

$message

$message : 

Type

$messagefull

$messagefull : 

Type

$file

$file : 

Type

$line

$line : 

Type

$errarray

$errarray : 

Type

$_zbe

$_zbe : 

Type

Methods

__construct()

__construct() 

构造函数,定义常见错误代码

__get()

__get(  $name) : mixed

获取参数.

Parameters

$name

Returns

mixed

GetInstance()

GetInstance() : \ZBlogException

获取单一实例.

Returns

\ZBlogException

SetErrorHook()

SetErrorHook() 

设定错误处理函数.

ClearErrorHook()

ClearErrorHook() 

清除注册的错误处理程序.

EnableErrorHook()

EnableErrorHook() 

启用错误调度.

DisableErrorHook()

DisableErrorHook() 

禁止错误调度.

SuspendErrorHook()

SuspendErrorHook() 

暂停错误调度.

ResumeErrorHook()

ResumeErrorHook() 

恢复错误调度.

DisableStrict()

DisableStrict() 

恢复错误调度.

EnableStrict()

EnableStrict() 

DisableWarning()

DisableWarning() 

EnableWarning()

EnableWarning() 

Trace()

Trace(  $s) 

Parameters

$s

ParseError()

ParseError(  $type,   $message,   $file,   $line) 

解析错误信息.

Parameters

$type
$message
$file
$line

ParseShutdown()

ParseShutdown(  $error) 

解析错误信息.

Parameters

$error

ParseException()

ParseException(\Exception  $exception) 

解析异常信息.

Parameters

\Exception $exception

Display()

Display() 

输出错误信息.

get_code()

get_code(  $file,   $line) : array

获取出错代码信息.

Parameters

$file
$line

Returns

array

possible_causes_of_the_error()

possible_causes_of_the_error() : string

得到可能的错误原因.

Returns

string