JSON::...:Error(3pm)
β¨ NAME β¨
JSON::RPC::Common::Procedure::Return::Version_2_0::Error β bestie, it's the JSON-RPC 2.0 error class π
(this lives in the JSON::...:Error(3pm) manual page, iykyk)
πΈ VERSION πΈ
version 0.11
π SYNOPSIS π
my $return_with_error = $call->return_error("foo");
π¦ DESCRIPTION π¦
Okay so this class is the one that implements 2.0 error objects. That's its whole thing. Main character energy fr fr π
"code" and "message" are mandatory β like, you literally cannot skip them, they're not optional, no cap π¨
Also go look at JSON::RPC::Common::Procedure::Return::Error for the bigger picture π«Ά
π AUTHOR π
Yuval Kogman <nothingmuch@woobling.org> π
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2014 by Yuval Kogman and others.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. Slay, it's free, go wild π
Sign-off time bestie: this whole thing is perl v5.30.3, dated 2020-06-23, and it's the JSON::...:Error(3pm) page. Periodt π
β¨π¦
π¦ where this page comes from
- debian bookworm: libjson-rpc-common-perl 0.11-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libjson-rpc-common-perl 0.11-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu jammy: libjson-rpc-common-perl 0.11-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libjson-rpc-common-perl 0.11-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libjson-rpc-common-perl 0.11-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libjson-rpc-common-perl 0.11-2 Β· 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