NAME
DBIO::Exception - Exception objects for DBIO
VERSION
version 0.900000
DESCRIPTION
Exception objects of this class are used internally by the default error handling of "throw_exception" in DBIO::Schema and derivatives.
These objects stringify to the contained error message, and use overload fallback to give natural boolean/numeric values.
METHODS
throw
This is meant for internal use by DBIO's throw_exception code, and shouldn't be used directly elsewhere.
Expects a scalar exception message. The optional boolean $stacktrace causes it to output a full trace similar to confess.
DBIO::Exception->throw('Foo');
try { ... } catch { DBIO::Exception->throw(shift) }
rethrow
This method provides some syntactic sugar in order to re-throw exceptions.
AUTHOR
DBIO & DBIx::Class Authors
COPYRIGHT AND LICENSE
Copyright (C) 2026 DBIO Authors Portions Copyright (C) 2005-2025 DBIx::Class Authors Based on DBIx::Class, heavily modified.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.