cdh.rest.exceptions module

exception cdh.rest.exceptions.ApiError(status_code, message, *args)[source]

Bases: Exception

General API errors

__init__(status_code, message, *args)[source]
exception cdh.rest.exceptions.Forbidden(response: Response)[source]

Bases: ApiError

__init__(response: Response)[source]
exception cdh.rest.exceptions.OperationNotEnabled[source]

Bases: Exception

Thrown when a call was made to a resources/collection operation that was not enabled by it’s config.

exception cdh.rest.exceptions.Unauthorized(response: Response)[source]

Bases: ApiError

__init__(response: Response)[source]