Skip to content

API Reference

errors

Classes:

  • HakushinError –

    Represent the base class for exceptions in the Hakushin API.

  • NotFoundError –

    Raise when the requested resource is not found.

HakushinError

Represent the base class for exceptions in the Hakushin API.

Attributes:

  • status –

    HTTP status code of the error.

  • message –

    Error message.

  • url –

    URL that caused the error.

message instance-attribute

message = message

status instance-attribute

status = status

url instance-attribute

url = url

NotFoundError

Raise when the requested resource is not found.