|
NAMEData::Object::Role::ThrowableABSTRACTThrowable Role for Perl 5SYNOPSISpackage Example; use Moo; with 'Data::Object::Role::Throwable'; package main; my $example = Example->new; # $example->throw DESCRIPTIONThis package provides mechanisms for throwing the object as an exception.METHODSThis package implements the following methods:throwthrow(Tuple[Str, Str] | Str $message, Maybe[Number] $offset) : Any The throw method throws an exception with the object and the given message. The object is thrown as the exception context. See Data::Object::Exception for more information.
AUTHORAl Newkirk, "awncorp@cpan.org"LICENSECopyright (C) 2011-2019, Al Newkirk, et al.This is free software; you can redistribute it and/or modify it under the terms of the The Apache License, Version 2.0, as elucidated in the "license file" <https://github.com/iamalnewkirk/data-object-role-throwable/blob/master/LICENSE>. PROJECTWiki <https://github.com/iamalnewkirk/data-object-role-throwable/wiki>Project <https://github.com/iamalnewkirk/data-object-role-throwable> Initiatives <https://github.com/iamalnewkirk/data-object-role-throwable/projects> Milestones <https://github.com/iamalnewkirk/data-object-role-throwable/milestones> Contributing <https://github.com/iamalnewkirk/data-object-role-throwable/blob/master/CONTRIBUTE.md> Issues <https://github.com/iamalnewkirk/data-object-role-throwable/issues>
Visit the GSP FreeBSD Man Page Interface. |