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

Pandoc::Error - Pandoc document processing error

Methods

throw([%fields])
       Throw an existing error or create and throw a new error. Setting field "message" is recommended. The
       message is enriched with error location.  A stack trace can be added with $Carp::Verbose or Carp::Always.

   message
       The error message. Also returned on stringification.

Name

       Pandoc::Error - Pandoc document processing error

See Also

       This class does not inherit from Throwable, Exception::Class or Class::Exception but may do so in a
       future version.

perl v5.38.2                                       2024-08-03                                 Pandoc::Error(3pm)

Synopsis

         use Try::Tiny;

         try {
             ...
         } catch {
             if ( blessed $_ && $_->isa('Pandoc::Error') ) {
                 ...
             }
         };

See Also