The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

RPC::Lite::Error -- An error response from an RPC::Lite::Server.

DESCRIPTION

RPC::Lite::Error derives from RPC::Lite::Response, but instead of having a valid object in the Result field, it has error information in the Error field.

METHODS

new

Takes the object to place in the Error field.

Result

Returns undef on an RPC::Lite::Error object.

Error

Returns the object encapsulated by the RPC::Lite::Error object.

SEE ALSO

RPC::Lite::Response