Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Document X::Cannot::Lazy
- Loading branch information
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
=begin pod :kind("Type") :subkind("class") :category("exception") | ||
=TITLE class X::Cannot::Lazy | ||
=SUBTITLE Error due to inappropriate usage of a lazy list | ||
class X::Cannot::Lazy is Exception { } | ||
Error thrown (or wrapped in a C<Failure>) when inappropriately using a | ||
list that C<.is-lazy>. Such a list can be infinite which would make it | ||
impossible to iterate over all values. | ||
=head1 Methods | ||
=head2 method action | ||
method action() | ||
Verbal description of the inappropriate action. | ||
=head2 method what | ||
method what() | ||
Returns the type that was the target of the action, if it was not the | ||
lazy list itself. | ||
=end pod |