コンテンツにスキップ

PolicyRejection

このコンテンツはまだ日本語訳がありません。

Defined in: src/signer/types.ts:88

Why a PolicyGatedSigner refused to sign. detail is human-readable and MUST NOT contain the nonce or any signature material.

The evaluator (evaluateSpendingPolicy) emits the revoked / expired / token_not_allowed / recipient_not_allowed / amount_exceeds_* reasons; the adapter additionally emits from_mismatch, and an OUT-OF-PROCESS adapter (one whose policy is enforced by a separate signer it talks to) may emit intent_digest_mismatch / unauthenticated / nonce_reuse_conflict. The local adapter never emits those three. The consumer handles one SignResult regardless of adapter.

Properties

detail

readonly detail: string

Defined in: src/signer/types.ts:108

Human-readable reason; never contains the nonce or a signature.


reason

readonly reason: "revoked" | "expired" | "token_not_allowed" | "recipient_not_allowed" | "amount_exceeds_per_sign" | "amount_exceeds_cumulative" | "intent_digest_mismatch" | "unauthenticated" | "from_mismatch" | "nonce_reuse_conflict"

Defined in: src/signer/types.ts:89