% if ( UNIVERSAL::isa($exc, 'Exception::Class::Base') ) { % if ($exc->trace) { % } % if ( $exc->isa('Alzabo::Exception::Driver') ) { % } % }
Error message: <% UNIVERSAL::isa($exc, 'Exception::Class::Base') ? $exc->error : $exc %>
Error class: <% ref $exc %>
Trace:
   <% join "\n\n", split /\n+/, $exc->trace->as_string %>
   
Process id: <% $exc->pid %>
SQL: <% $exc->sql %>
Bind values: % if (my @b = @{ $exc->bind || [] }) {
    % foreach my $b (@b) {
  • <% $b %> % }
% }
<%init> my $exc = shift; $m->clear_buffer; <%cleanup> $m->abort; <%flags> inherit => undef