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 Product
trait Equals
trait Err
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Constructors

def this(discriminator: D)

Concrete methods

Gets a description of the error.

Gets a description of the error.

Attributes

Source:
KnownDiscriminatorType.scala

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

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

Attributes

Inherited from:
Product

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