UnknownDiscriminator

scodec.codecs.KnownDiscriminatorType.UnknownDiscriminator
case class UnknownDiscriminator(discriminator: D, context: List[String]) extends Err

Error raised when an unknown discriminator is encountered when decoding.

Attributes

Source
KnownDiscriminatorType.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Err
class Object
trait Matchable
class Any
Show all

Members list

Value members

Constructors

def this(discriminator: D)

Attributes

Source
KnownDiscriminatorType.scala

Concrete methods

def message: String

Gets a description of the error.

Gets a description of the error.

Attributes

Source
KnownDiscriminatorType.scala
def pushContext(ctx: String): Err

Returns a new error with the specified context identifier pushed in to the context stack.

Returns a new error with the specified context identifier pushed in to the context stack.

Attributes

Source
KnownDiscriminatorType.scala

Inherited methods

def messageWithContext: String

Gets a description of the error with the context identifiers prefixing the message.

Gets a description of the error with the context identifiers prefixing the message.

Attributes

Inherited from:
Err
Source
Err.scala
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Err -> Any
Inherited from:
Err
Source
Err.scala