Err

trait Err

Describes an error.

An error has a message and a list of context identifiers that provide insight into where an error occurs in a large structure.

This type is not sealed so that codecs can return domain specific subtypes and dispatch on those subtypes.

Companion:
object
Source:
Err.scala
class Object
trait Matchable
class Any

Value members

Abstract methods

Gets a stack of context identifiers.

Gets a stack of context identifiers.

The head of the list is the outermost (i.e., least specific) identifier.

Source:
Err.scala

Gets a description of the error.

Gets a description of the error.

Source:
Err.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.

Source:
Err.scala

Concrete 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.

Source:
Err.scala
override def toString: String
Definition Classes
Any
Source:
Err.scala