Pandoc::Error - Pandoc document processing error
use Try::Tiny; try { ... } catch { if ( blessed $_ && $_->isa('Pandoc::Error') ) { ... } };
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.
This class does not inherit from Throwable, Exception::Class or Class::Exception but may do so in a future version.
To install Pandoc, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Pandoc
CPAN shell
perl -MCPAN -e shell install Pandoc
For more information on module installation, please visit the detailed CPAN module installation guide.