JE::Ob...geError(3pm)
π JE::Object::Error::RangeError β the whole vibe π
perl manual, section 3pm β¨ so this is the JE::Object::Error::RangeError page, bestie, and it's literally the class that makes JavaScript RangeError objects happen inside JE. π¦
β¨ NAME β¨
JE::Object::Error::RangeError β it's giving JavaScript RangeError object class. π
πΈ SYNOPSIS πΈ
okay so here's the whole flow, no cap:
use JE::Object::Error::RangeError;
# Somewhere in code called by an eval{}
die new JE::Object::Error::RangeError $global, "(Error message here)";
# Later:
$@->prop('message'); # error message
$@->prop('name'); # 'RangeError'
"$@"; # 'RangeError: ' plus the error message
so like β you use it, you die with a fresh one somewhere inside code that an eval{} is watching π, and then afterwards $@ is your girl. Ask her for prop('message') and she hands you the error message. Ask for prop('name') and she says 'RangeError' π
. And if you just stringify her with "$@"? You get 'RangeError: ' plus the error message. iconic behaviour fr fr.
π«Ά DESCRIPTION π«Ά
This class implements JavaScript RangeError objects for JE. That's the whole job and she does it flawlessly, periodt. π
π METHODS π
ngl the methods aren't listed here β go check JE::Types and JE::Object::Error. they're holding all the lore, iykyk. π
π¦ SEE ALSO π¦
the whole friend group, go say hi:
JEJE::TypesJE::ObjectJE::Object::Error
π bestie reminder: this page is fromperl v5.36.0, dated2023-08-25, and it lives in the User Contributed Perl Documentation. mwah, go write some flawless error handling πβ¨π«Ά
π¦ where this page comes from
- debian trixie: libje-perl 0.066-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libje-perl 0.066-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libje-perl 0.066-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libje-perl 0.066-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms