Skip to content

Errors

HTTP error classes shared by the clients. Native transports can also raise timeout, connection and native protocol errors; see the reliability guide.

Choose your client · Reliability · All public exports

AuthenticationError

AuthenticationError(
    status: int,
    title: str,
    *,
    detail: str | None = None,
    body: Any = None,
)

Bases: RemoteError

Authentication or authorization failed.

ConflictError

ConflictError(
    status: int,
    title: str,
    *,
    detail: str | None = None,
    body: Any = None,
)

Bases: RemoteError

The request conflicts with current resource state.

EdithHermesError

Bases: Exception

Base SDK exception.

NotFoundError

NotFoundError(
    status: int,
    title: str,
    *,
    detail: str | None = None,
    body: Any = None,
)

Bases: RemoteError

A requested resource does not exist or is not visible.

RemoteError

RemoteError(
    status: int,
    title: str,
    *,
    detail: str | None = None,
    body: Any = None,
)

Bases: EdithHermesError

A remote API returned a problem response.

status instance-attribute

status = status

title instance-attribute

title = title

detail instance-attribute

detail = detail

body instance-attribute

body = body

ValidationError

ValidationError(
    status: int,
    title: str,
    *,
    detail: str | None = None,
    body: Any = None,
)

Bases: RemoteError

The server rejected request input.