=encoding utf-8 =head1 NAME WebSocket::Exception - WebSocket Exception Class =head1 SYNOPSIS use WebSocket::Exception; my $ex = WebSocket::Connection->new({ code => 1011, message => 'Invalid property provided', }); print( "Error stack trace: ", $ex->stack_trace, "\n" ); =head1 VERSION v0.1.0 =head1 DESCRIPTION This is the exception class for L<WebSocket>. It inherits all is methods from L<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. L<WebSocket::Exception> objects are created by L<Module::Generic/"error"> method. =head1 AUTHOR Jacques Deguest E<lt>F<jack@deguest.jp>E<gt> =head1 SEE ALSO L<perl> =head1 COPYRIGHT & LICENSE Copyright(c) 2021 DEGUEST Pte. Ltd. DEGUEST Pte. Ltd. You can use, copy, modify and redistribute this package and associated files under the same terms as Perl itself. =cut