Skip to content

Commit

Permalink
Merge pull request #3181 from dumarchie/#3163
Browse files Browse the repository at this point in the history
Document X::Cannot::Lazy
  • Loading branch information
dumarchie committed Jan 22, 2020
2 parents 3e21a47 + 927f033 commit 07916b8
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions doc/Type/X/Cannot/Lazy.pod6
@@ -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

0 comments on commit 07916b8

Please sign in to comment.