BrowserREPL-button-tip-on BrowserREPL-button-tip-off

EditButtonTip 2024-05-18

class X::Cannot::Lazy

Error due to inappropriate usage of a lazy list

class X::Cannot::Lazy is Exception { }
Code

Error thrown (or wrapped in a Failure) when inappropriately using a list that .is-lazy. Such a list can be infinite which would make it impossible to iterate over all values.

Methods§

method action§

method action()
Code

Verbal description of the inappropriate action.

method what§

method what()
Code

Returns the type that was the target of the action, if it was not the lazy list itself.