WalletSpendAuthorizationDenied class final

Thrown by a WalletSendAuthorizer when the user (or a host policy) declines the spend. The controllers catch it BEFORE any classification and silently restore the pre-confirm state (review stays reviewable, the one-shot proposal token is unconsumed, ZERO bridge calls were made). The host's own prompt is the user-facing communication channel for a denial — the package deliberately shows no additional fault for it.

PRECONDITION: throw this ONLY after your own UI has communicated the outcome (the user dismissed your prompt, or your policy UI explained the block). A PROMPTLESS denial makes the confirm button appear dead — it flashes the transient and silently bounces back. For a policy block with no UI of its own, show your own message first, or throw a real error so the package classifies it as a visible failure.

Implemented types

Constructors

WalletSpendAuthorizationDenied()
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited