Skip to main content
Failed API requests throw typed errors from @alhwyn/luma. All errors extend LumaError and include status and optional body from the API response.

Error types

Webhook verification errors

Inbound webhook verification throws WebhookSignatureError when the signature is missing, expired, or invalid:

Inspecting error bodies

The API sometimes returns extra detail in the response body: