construct
Error::__construct
Construct the error object
ENTITY
public
Error::__construct
string
message
""
int
code
0
Throwable
null
previous
ENTITY
Constructs the Error.
ENTITY
message
The error message.
code
The error code.
previous
The previous throwable used for the exception chaining.
ENTITY
[!NOTE] The
messageis NOT binary safe.
这篇文档对你有帮助吗?
谢谢你的反馈!