HTTP::...rError(3pm)

πŸ“¦
version 0.028 Β· 2 versions
  • 0.028 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 0.027 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

✨ NAME ✨

okay bestie, say hi to HTTP::Throwable::Role::Status::InternalServerError β€” it's the whole 500 Internal Server Error vibe, packaged up as a Perl role πŸ’… (it lives in the HTTP::...rError corner of your man pages, iykyk)


πŸŽ€ VERSION πŸŽ€

version 0.028 β€” she's on version 0.028, no cap πŸ’–


🌸 DESCRIPTION 🌸

so basically the server hit an unexpected condition 😭 and that condition straight-up prevented it from fulfilling the request. that's it, that's the drama. the request said "pls" and the server said "i literally cannot rn" 🫢


πŸ¦‹ PERL VERSION πŸ¦‹

okay so this library is designed to run on perls released even a long time ago ⭐ β€” it should work on any version of perl released in the last five years. she's flexible like that.

but listen, and this is the important part 🚨:

it may work on older versions of perl, but no guarantee is made that the minimum required version won't get bumped. the version may be increased for any reason, and there's no promise that patches will be accepted to lower the minimum required perl. so don't come for her about old perls, periodt πŸ’€

πŸ‘‘ ATTRIBUTES πŸ‘‘

πŸ’œ show_stack_trace

this is a boolean attribute, and by default it's true βœ…

it tells the text_body method whether or not to show the stack trace in the output. so like, do you want the receipts in the body text or not? that's the whole question 🧚


🌈 AUTHORS 🌈

the icons who made this happen πŸ₯³:

  • Stevan Little <stevan.little@iinteractive.com>
  • Ricardo Signes <cpan@semiotic.systems>

this software is copyright (c) 2011 by Infinity Interactive, Inc. 🫢

it's free software β€” you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. slay, open source behavior, we love to see it ✨


and that's the whole page bestie πŸŽ€ this one's from perl v5.36.0, dated 2023-01-24, courtesy of the User Contributed Perl Documentation β€” go forth and 500 responsibly πŸ’…πŸ”₯

πŸ“¦ where this page comes from