Net::RDAP::Error(3)
π Net::RDAP::Error π
okay bestie, gather round, because we're talking about Net::RDAP::Error β the little module that represents an RDAP error. yes, the error module. it's giving "something went wrong and we're gonna tell you about it" and honestly? iconic.
β¨ DESCRIPTION β¨
Net::RDAP::Object::Error represents an error. no cap. and this error could be one of two whole vibes:
- an error that got returned by an RDAP server, or
- an error that got generated internally (aka we made it ourselves, it's homegrown, it's artisanal)
also, Net::RDAP::Object::Error inherits from Net::RDAP::Object, which means it has access to all that module's methods. yes. all of them. the whole inheritance bag. slay. π
π METHODS π
$code = $error->errorCode;β hands you back the error code number, which corresponds to the HTTP response code. now listen, here's the tea on internally generated errors: they're usually400if the arguments passed to Net::RDAP are invalid in some way, and500if the response from the server is invalid or cannot be reached. so like,400= "bestie what did you even type",500= "the server said no and also maybe doesn't exist". π$title = $error->title;β returns a string containing a short summary of the error. the lil headline. the tl;dr. the error's whole personality in one line. β¨@description = $error->description;β returns a (potentially empty) array of lines of descriptive text. yes, an array. and yes, it can be empty β sometimes the error simply has nothing more to say and honestly? respect. π
heads up bestie: @description is an array, not a scalar. don't come for me, that's just what the manpage says. π«Ά
π COPYRIGHT π
Copyright 2018-2023 CentralNic Ltd, 2024-2026 Gavin Brown. for licensing information, please see the "LICENSE" file in the Net::RDAP distribution. (yes, actual quotes around LICENSE, we're being fancy π)
and that's the whole page, bestie!! πΈ this one's from perl v5.42.2, dated 2026-06-17, and it lives its best life as Net::RDAP::Error(3) in the User Contributed Perl Documentation section. mwah. πβ¨ππ¦
π¦ where this page comes from
- fedora 44: perl-Net-RDAP 0.43-1.fc44 Β· BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms