跳转到主要内容

error

ENTITY

Error is the base class for errors that indicate programming mistakes. Such errors generally require a correction to the program rather than being handled during normal operation.

ENTITY

Error

implements

Throwable

ENTITY

protected

string

message

""

private

string

string

""

protected

int

code

protected

string

file

""

protected

int

line

private

array

trace

[]

private

Throwable

null

previous

null

ENTITY

ENTITY

message
The error message

code
The error code

file
The filename where the error happened

line
The line where the error happened

previous
The previously thrown exception

string
The string representation of the stack trace

trace
The stack trace as an array

ENTITY ENTITY ENTITY ENTITY ENTITY ENTITY ENTITY ENTITY ENTITY ENTITY