Mojo::...ception(3pm)

πŸ’– Mojo::IOLoop::ReadWriteProcess::Exception β€” the manual page, bestie edition πŸ’–

okay so this is the page for Mojo::IOLoop::ReadWriteProcess::Exception, which lives in the User Contributed Perl Documentation corner of the perl-verse (you know, the 3pm section πŸ’…). It's the exception object for Mojo::IOLoop::ReadWriteProcess β€” like, when that thing is going through it, this is the little object that carries the drama. πŸŽ€


✨ NAME ✨

Mojo::IOLoop::ReadWriteProcess::Exception β€” Exception object for Mojo::IOLoop::ReadWriteProcess. πŸ¦‹


✨ SYNOPSIS ✨

okay here's the vibe, copy-paste core:

use Mojo::IOLoop::ReadWriteProcess::Exception;

my $e = Mojo::IOLoop::ReadWriteProcess::Exception->new("Errored!");

print "Error $e";

my $string_error = $e->to_string;

that's it. that's the whole plot. πŸ’€βœ¨


✨ METHODS ✨

Mojo::IOLoop::ReadWriteProcess::Exception inherits all methods from Mojo::Base and implements the following new ones. so like, all the Mojo::Base inheritance energy comes free, no cap, and then there's this one extra:

🌸 to_string

my $e = Mojo::IOLoop::ReadWriteProcess::Exception->new("Errored!");
my $string_error = $e->to_string;

returns a stringified version of the error message. literally just the error message, but as a string. that's the whole job and it's doing it gorgeously. πŸ‘‘


✨ LICENSE ✨

Copyright (C) Ettore Di Giacinto. πŸ“œ

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

bestie, note: "same terms as Perl itself" β€” that's the license, don't go rewriting it, iykyk. πŸ’œ

✨ AUTHOR ✨

Ettore Di Giacinto <edigiacinto@suse.com> β€” the icon who wrote this. 🌈⭐


okay and for the little sign-off: this page is from perl v5.42.0, dated 2025-07-25, and it's the Mojo::...ception(3pm) page because apparently we're abbreviating now πŸ’… β€” anyway ily, go stringify your errors responsibly, mwah πŸ«ΆπŸ’–

πŸ“¦ where this page comes from