1 package Text::Tradition::Error;
6 use overload '""' => \&_stringify, 'fallback' => 1;
8 with qw/ Throwable::X StackTrace::Auto /;
13 return "Error: " . $self->ident . " // " . $self->message
14 . "\n" . $self->stack_trace->as_string;
18 __PACKAGE__->meta->make_immutable( inline_constructor => 0 );
22 Text::Tradition::Error - throwable error class for Tradition package
26 A basic exception class to throw around, as it were.
30 This package is free software and is provided "as is" without express
31 or implied warranty. You can redistribute it and/or modify it under
32 the same terms as Perl itself.
36 Tara L Andrews E<lt>aurum@cpan.orgE<gt>