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

SimpleError

data class SimpleError : ErrorDetails (source)

Convenience class that implements ErrorDetails and automatically time stamps it.

See Also

ErrorDetails.time

Constructors

Name Summary
<init> SimpleError(t: Throwable, title: CharSequence, body: CharSequence, functionItem: FunctionItem? = null, time: Long = System.currentTimeMillis())
Convenience class that implements ErrorDetails and automatically time stamps it.

Properties

Name Summary
body val body: CharSequence
Some details about why it occurred and/or resolution details, etc.
functionItem 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 val t: Throwable
The exception that was thrown.
time val time: Long
When this error occurred in millis since epoch.
title val title: CharSequence
A title for the dialog - the “kind” if you will.