NAME
WebSocket::Exception - WebSocket Exception Class
SYNOPSIS
use
WebSocket::Exception;
my
$ex
= WebSocket::Connection->new({
code
=> 1011,
message
=>
'Invalid property provided'
,
});
(
"Error stack trace: "
,
$ex
->stack_trace,
"\n"
);
VERSION
v0.1.0
DESCRIPTION
This is the exception class for WebSocket. It inherits all is methods from Module::Generic::Exception.
The error object can be stringified or compared.
When stringified, it provides the error message along with precise information about where the error occurred and a stack trace.
WebSocket::Exception objects are created by "error" in Module::Generic method.
AUTHOR
Jacques Deguest <jack@deguest.jp>
SEE ALSO
COPYRIGHT & LICENSE
Copyright(c) 2021-2023 DEGUEST Pte., Ltd.
You can use, copy, modify and redistribute this package and associated files under the same terms as Perl itself.