Search results for "module:autodie::exception"
autodie::exception - Exceptions from autodying functions.
When an autodie enabled function fails, it generates an "autodie::exception" object. This can be interrogated to determine further information about the error that occurred. This document is broken into two sections; those methods that are most usefu...
TODDR/autodie-2.37 - 28 Dec 2023 19:13:52 UTC
autodie::exception::system - Exceptions from autodying system().
This is a autodie::exception class for failures from the "system" command. Presently there is no way to interrogate an "autodie::exception::system" object for the command, exit status, and other information you'd expect such an object to hold. The in...
TODDR/autodie-2.37 - 28 Dec 2023 19:13:52 UTC
autodie - Replace functions with ones that succeed or die with lexical scope
bIlujDI' yIchegh()Qo'; yIHegh()! It is better to die() than to return() in failure. -- Klingon programming proverb. The "autodie" pragma provides a convenient way to replace functions that normally return false on failure with equivalents that throw ...
TODDR/autodie-2.37 - 28 Dec 2023 19:13:52 UTC
autodie::skip - Skip a package when throwing autodie exceptions
This dummy class exists to signal that the class inheriting it should be skipped when reporting exceptions from autodie. This is useful for utility classes like Path::Tiny that wish to report the location of where they were called on failure. If your...
TODDR/autodie-2.37 - 28 Dec 2023 19:13:52 UTC