Package io.vavr
Class MatchError
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.util.NoSuchElementException
-
- io.vavr.MatchError
-
- All Implemented Interfaces:
java.io.Serializable
public class MatchError extends java.util.NoSuchElementException
AAPI.Match
throws a MatchError if no case matches the applied object.- See Also:
- Serialized Form
-
-
Method Summary
Modifier and Type Method Description java.lang.Object
getObject()
Returns the object which could not be matched.
-