Exceptions

exception domainrobot.exceptions.DomainrobotError[source]

Bases: Exception

Base exception for all domainrobot errors.

exception domainrobot.exceptions.DomainrobotApiError(status_code, stid, messages, response_body)[source]

Bases: DomainrobotError

Raised when the API returns a non-2xx response.

Parameters:
status_code

HTTP status code.

stid

Server transaction ID.

messages

Error messages from the API.

response_body

Full response body dict.

exception domainrobot.exceptions.DomainrobotTransportError(message, original=None)[source]

Bases: DomainrobotError

Raised for network/connection errors.

Parameters:
original

The underlying transport exception, if available.