Documentation / dataflow-async / com.femastudios.dataflow.async / AttributeData / errorInstance
Go to reference

errorInstance

@JvmStatic @JvmOverloads fun errorInstance(displayableMessage: String? = null, displayableDescription: String? = null, retry: (() -> Unit)? = null): Error<Nothing>

Returns an Error instance with the specified parameters.

Parameters

displayableMessage - an error message

displayableDescription - a full description of the error

retry - a function that retries to load the data