JSON::...stants(3pm)

πŸ’– JSON::RPC::Constants β€” Constants πŸ’–

okay so this is the constants page for JSON::RPC::Constants, and it’s short but iconic. no cap. πŸ’…

🌸 NAME 🌸

JSON::RPC::Constants β€” Constants. that’s the whole name section, bestie, and it ate. 🫢

✨ SYNOPSIS ✨

use JSON::RPC::Constants qw(:all);
# or, import one by one

so you can grab the whole set with :all, or import one by one like a lil collector. slay. πŸŽ€

πŸ¦‹ DEBUG πŸ¦‹

πŸ’– JSONRPC_DEBUG πŸ’–

Set to true if PERL_JSONRPC_DEBUG environmental variable is set to a value that evaluates to true. False otherwise.

This controls debug output of the module.

literally the whole vibe check: if that environmental variable is truthy, this is true; otherwise it’s false. periodt. πŸ”₯

🌈 JSON RPC VALUES 🌈

These values are defined as per JSON RPC RFC.

here’s the whole lineup, each one in its own little section because the original page said so and we respect the format, fr fr. 🌸

πŸŽ€ RPC_PARSE_ERROR πŸŽ€

πŸ’… RPC_INVALID_REQUEST πŸ’…

πŸ¦‹ RPC_METHOD_NOT_FOUND πŸ¦‹

🌸 RPC_INVALID_PARAMS 🌸

πŸ”₯ RPC_INTERNAL_ERROR πŸ”₯


that’s a wrap! brought to you by the User Contributed Perl Documentation crew, with source/version perl v5.42.0, dated 2015-08-27. mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from