Skip to content

Errors

Source: src/core/errors.ts

Extends Error.

Base SDK error for request, transport, and response-validation failures.

Includes optional HTTP metadata and a retryable hint for transient failures.

Extends Leap0Error.

Error thrown when the API rejects a request due to missing permissions.

Extends Leap0Error.

Error thrown when a requested API resource does not exist.

Extends Leap0Error.

Error thrown when a request conflicts with the current server state.

Extends Leap0Error.

Error thrown when the API rate-limits a request.

Extends Leap0Error.

Error thrown when a request exceeds the configured timeout.

Extends Leap0Error.

Error thrown for websocket-specific failures such as disconnects or protocol issues.