KeyNotFound
eff KeyNotFound
SourceIndicates that a key was not found.
Useful for instances of Index
or IndexMut
.
Operations
def keyNotFound(msg: String): Void
SourceStops execution with an error message.
Definitions
@Experimental
def asRes(f: a -> b \ ef): a -> Result[String, b] \ ef - KeyNotFound
SourceTurns the KeyNotFound
effect into Err(msg)
.