DecodingFailure

harness.endpoint.error.DecodingFailure$
See theDecodingFailure companion trait

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

sealed abstract class Cause(val show: String)

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object ContentLengthTooLong.type
class DecodeFail
object DoesNotAcceptMultiple.type
object MissingContentLength.type
object MissingRequired.type
Show all
object Cause

Attributes

Companion
class
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Cause.type
final case class Or extends DecodingFailure

Attributes

Supertypes
trait Product
trait Equals
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class Simple(sources: List[SchemaSource], cause: Cause) extends DecodingFailure

Attributes

Companion
object
Supertypes
trait Product
trait Equals
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
object Simple

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Simple.type

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(sources: List[SchemaSource], cause: Cause): DecodingFailure
def or(failures: NonEmptyList[DecodingFailure]): DecodingFailure
def or(failure0: DecodingFailure, failureN: DecodingFailure*): DecodingFailure

Implicits

Implicits

implicit val schema: JsonSchema[DecodingFailure]