function parseSessionFailure
parseSessionFailure(failureData: EnvKeyEncrypted | ""): Promise<StoredPaymentFailure | null>

Parse a stored terminal failure, or null when the row carries none. A non-empty value is an app-written durable outcome, so decryption or schema failure is corruption and must surface here instead of being mistaken for a handled booking result.

Parameters

failureData: EnvKeyEncrypted | ""

Return Type

Promise<StoredPaymentFailure | null>

Usage

import { parseSessionFailure } from "doc.ts";