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

Value members

Methods

def message: String
Gets a description of the error.
def context: List[String]
Gets a stack of context identifiers.
The head of the list is the outermost (i.e., least specific) identifier.
def messageWithContext: String
Gets a description of the error with the context identifiers prefixing the message.
def pushContext(ctx: String): Err
Returns a new error with the specified context identifier pushed in to the context stack.
override def toString: String
Definition Classes
Any