StoreFailed

class StoreFailed(val operation: StoreOperation, val cause: Throwable) : BudgetEvent(source)

A store call failed: operation is StoreOperation.Load or StoreOperation.Save; cause is for diagnostics (the log prints its class name only).

Stable Core. toString() prints the operation and the cause's simple class name, never its message.

Parameters

operation

which store call failed.

cause

what the store reported.

Constructors

Link copied to clipboard
constructor(operation: StoreOperation, cause: Throwable)

Properties

Link copied to clipboard

What the store reported; for diagnostics.

Link copied to clipboard

Which store call failed.

Functions

Link copied to clipboard
open override fun toString(): String

A diagnostic string for logs: the operation's name and the cause's simple class name, never its message. Its format is not part of the API and may change.