NAME
Net::RDAP::Error - a module representing an RDAP error.
DESCRIPTION
Net::RDAP::Object::Error represents an error. This could be either an error returned by an RDAP server, or an internally generated error.
Net::RDAP::Object::Error inherits from Net::RDAP::Object so has access to all that module's methods.
METHODS
$code = $error->errorCode;
Returns the error code number (corresponding to the HTTP response code). Internally generated errors are usually 400
if the arguments passed to Net::RDAP are invalid in some way, and 500
if the response from the server is invalid or cannot be reached.
$title = $error->title;
Returns a string containing a short summary of the error.
@description = $error->description;
Returns a (potentially empty) array of lines of descriptive text.
COPYRIGHT
Copyright 2018-2023 CentralNic Ltd, 2024 Gavin Brown. For licensing information, please see the LICENSE
file in the Net::RDAP distribution.