NAME

Iterator::Flex::Role::Exhaustion::PassthroughThrow - signal exhaustion by transitioning to exhausted state and throwing exception

VERSION

version 0.16

METHODS

signal_exhaustion

$iterator->signal_exhaustion( @exception );

Signal that the iterator is exhausted.

  1. Transition to the exhausted state via the "set_exhausted" in Iterator::Flex::Base method.

  2. die with @exception if provided, else throw "Exhausted" in Iterator::Flex::Failure.

INTERNALS

SUPPORT

Bugs

Please report any bugs or feature requests to bug-iterator-flex@rt.cpan.org or through the web interface at: https://rt.cpan.org/Public/Dist/Display.html?Name=Iterator-Flex

Source

Source is available at

https://gitlab.com/djerius/iterator-flex

and may be cloned from

https://gitlab.com/djerius/iterator-flex.git

SEE ALSO

Please see those modules/websites for more information related to this module.

AUTHOR

Diab Jerius <djerius@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2018 by Smithsonian Astrophysical Observatory.

This is free software, licensed under:

The GNU General Public License, Version 3, June 2007