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.

class Exception
class Throwable
class Object
trait Matchable
class Any

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
Inherited from
Throwable
Inherited from
Throwable