LiumInsufficientBalanceError
from lium.sdk import LiumInsufficientBalanceError
Defined in lium.sdk.exceptions.
The account cannot pay for this (403 with a balance reason).
required and available are USD amounts when the server said what
they are, else None. Callers that catch LiumPermissionError
keep working; ones that want the numbers catch this class.
LiumInsufficientBalanceError(
message: str,
*,
required: float | None = None,
available: float | None = None,
code: str | None = None,
hint: str | None = None,
request_id: str | None = None
)
Attributes
| Name | Type | Description |
|---|---|---|
required | ||
available |