MilanoActionFailure

class MilanoActionFailure(val value: MilanoValue? = null, message: String = "action failed")

The exception a handler throws to fail a dispatch with a payload: the value is validated against the action's declared failure type and bound to the failure root inside onFailure. Any other exception is a failure with no payload.

Constructors

Link copied to clipboard
constructor(value: MilanoValue? = null, message: String = "action failed")

Properties

Link copied to clipboard
val value: MilanoValue? = null