gh-pages / com.nextfaze.devfun.error / ErrorDetails

ErrorDetails

interface ErrorDetails (source)

Details/information of an error.

See Also

SimpleError

Properties

Name Summary
body abstract val body: CharSequence
Some details about why it occurred and/or resolution details, etc.
functionItem abstract val functionItem: FunctionItem?
The function item to lead to this error (such as when attempting to invoke/prepare/whatever). Will be null for general errors.
t abstract val t: Throwable
The exception that was thrown.
time abstract val time: Long
When this error occurred in millis since epoch.
title abstract val title: CharSequence
A title for the dialog - the “kind” if you will.

Inheritors

Name Summary
SimpleError data class SimpleError : ErrorDetails
Convenience class that implements ErrorDetails and automatically time stamps it.