Skip to main content

MemApiError

@curiouslycory/memai-sdk


@curiouslycory/memai-sdk / MemApiError

Type Alias: MemApiError

MemApiError = object

Defined in: types.ts:75

Represents an error response from the Mem API.

See

MemApiError for the error class thrown by the SDK.

Properties

code?

optional code: string

Defined in: types.ts:83

A Mem-specific error code, if available, providing more granular error information.


error

error: string

Defined in: types.ts:77

A short string indicating the error type (e.g., 'invalid_request_error').


message

message: string

Defined in: types.ts:79

A human-readable message providing more details about the error.


status?

optional status: number

Defined in: types.ts:81

The HTTP status code associated with the error, if available.