logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Mojo::IOLoop::ReadWriteProcess::Exception - Exception object for Mojo::IOLoop::ReadWriteProcess.

Author

       Ettore Di Giacinto <edigiacinto@suse.com>

perl v5.36.0                                       2023-10-26              Mojo::IOLoop::...cess::Exception(3pm)

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.

Methods

       Mojo::IOLoop::ReadWriteProcess::Exception inherits all methods from Mojo::Base and implements the
       following new ones.

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

       Returns stringified version of the error message.

Name

       Mojo::IOLoop::ReadWriteProcess::Exception - Exception object for Mojo::IOLoop::ReadWriteProcess.

Synopsis

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

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

           print "Error $e";

           my $string_error = $e->to_string;

See Also