MatchError

final class MatchError(obj: Any) extends RuntimeException

This class implements errors which are thrown whenever an object doesn't match any pattern of a pattern matching expression.

Source:
MatchError.scala

Value members

Concrete methods

override def getMessage(): String
Definition Classes
Source:
MatchError.scala

Inherited methods

final def addSuppressed(x$0: Throwable): Unit
Inherited from:
Throwable
Inherited from:
Throwable
Inherited from:
Throwable
Inherited from:
Throwable
Inherited from:
Throwable
Inherited from:
Throwable
Inherited from:
Throwable
Inherited from:
Throwable
Inherited from:
Throwable

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Returns:

a string representation of the object.

Inherited from:
Throwable