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

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.


method action§

method action()

Verbal description of the inappropriate action.

method what§

method what()

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


Type relations for X::Cannot::Lazy
raku-type-graph X::Cannot::Lazy X::Cannot::Lazy Exception Exception X::Cannot::Lazy->Exception Mu Mu Any Any Any->Mu Exception->Any

Expand chart above