NAME
Data::Object::Role::Throwable - Throwable Object Role for Perl 5
VERSION
version 0.57
SYNOPSIS
use Data::Object::Role::Throwable;
DESCRIPTION
Data::Object::Role::Throwable provides routines for operating on Perl 5 data objects which meet the criteria for being throwable.
METHODS
throw
# given $throwable
$throwable->throw;
The throw method terminates the program using the core die keyword, passing the object to the Data::Object::Exception class as the named parameter object
. If captured this method returns an exception value.
SEE ALSO
AUTHOR
Al Newkirk <anewkirk@ana.io>
COPYRIGHT AND LICENSE
This software is copyright (c) 2014 by Al Newkirk.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.