NAME
Linux::Event::Error - Lightweight proactor error object
SYNOPSIS
my $err = $op->error;
warn $err->code;
warn $err->name;
warn $err->message;
DESCRIPTION
Linux::Event::Error is a compact object used by Linux::Event::Proactor to report failed operations. It stores an errno-style numeric code, a short symbolic name, and a descriptive message.
METHODS
new(%args)
Create a new error object. code is required. name defaults to EUNKNOWN. message defaults to the empty string.
code
Return the numeric code.
name
Return the symbolic name.
message
Return the descriptive message.