UniEvent::SystemError - system error constants
$tcp->connect_callback(sub { my ($tcp, $err) = @_; if ($err) { if ($err == UE::SystemError::timed_out) { ... } elsif ($err == UE::SystemError::operation_canceled) { ... } ... } });
This is alias package for XS::STL::errc, the description of them is partially available on XS::STL::ErrorCode, but full specs belong to C++ domain, hence, are available at cppreference.com.
XS::STL::errc
To install UniEvent, copy and paste the appropriate command in to your terminal.
cpanm
cpanm UniEvent
CPAN shell
perl -MCPAN -e shell install UniEvent
For more information on module installation, please visit the detailed CPAN module installation guide.