Skip to content

amountExceedsCeilingError

PQSafe AgentPay API Reference v0.1.0


PQSafe AgentPay API Reference / amountExceedsCeilingError

Function: amountExceedsCeilingError()

amountExceedsCeilingError(requested, ceiling, currency): PolicyError

Defined in: pqsafe/agent-pay/src/sprint2/errors.ts:350

Create a PolicyError for amount exceeding envelope ceiling.

Parameters

requested

number

ceiling

number

currency

string

Returns

PolicyError