kubernetes_asyncio.dynamic.exceptions module

exception kubernetes_asyncio.dynamic.exceptions.BadRequestError(e: ApiException, tb=None)

Bases: DynamicApiError

400: StatusBadRequest

exception kubernetes_asyncio.dynamic.exceptions.ConflictError(e: ApiException, tb=None)

Bases: DynamicApiError

409: StatusConflict

exception kubernetes_asyncio.dynamic.exceptions.DynamicApiError(e: ApiException, tb=None)

Bases: ApiException

Generic API Error for the dynamic client

summary() str
exception kubernetes_asyncio.dynamic.exceptions.ForbiddenError(e: ApiException, tb=None)

Bases: DynamicApiError

403: StatusForbidden

exception kubernetes_asyncio.dynamic.exceptions.GoneError(e: ApiException, tb=None)

Bases: DynamicApiError

410: StatusGone

exception kubernetes_asyncio.dynamic.exceptions.InternalServerError(e: ApiException, tb=None)

Bases: DynamicApiError

500: StatusInternalServer

exception kubernetes_asyncio.dynamic.exceptions.KubernetesValidateMissing

Bases: Exception

kubernetes-validate is not installed

exception kubernetes_asyncio.dynamic.exceptions.MethodNotAllowedError(e: ApiException, tb=None)

Bases: DynamicApiError

405: StatusMethodNotAllowed

exception kubernetes_asyncio.dynamic.exceptions.NotFoundError(e: ApiException, tb=None)

Bases: DynamicApiError

404: StatusNotFound

exception kubernetes_asyncio.dynamic.exceptions.ResourceNotFoundError

Bases: Exception

Resource was not found in available APIs

exception kubernetes_asyncio.dynamic.exceptions.ResourceNotUniqueError

Bases: Exception

Parameters given matched multiple API resources

exception kubernetes_asyncio.dynamic.exceptions.ServerTimeoutError(e: ApiException, tb=None)

Bases: DynamicApiError

504: StatusServerTimeout

exception kubernetes_asyncio.dynamic.exceptions.ServiceUnavailableError(e: ApiException, tb=None)

Bases: DynamicApiError

503: StatusServiceUnavailable

exception kubernetes_asyncio.dynamic.exceptions.TooManyRequestsError(e: ApiException, tb=None)

Bases: DynamicApiError

429: StatusTooManyRequests

exception kubernetes_asyncio.dynamic.exceptions.UnauthorizedError(e: ApiException, tb=None)

Bases: DynamicApiError

401: StatusUnauthorized

exception kubernetes_asyncio.dynamic.exceptions.UnprocessibleEntityError(e: ApiException, tb=None)

Bases: DynamicApiError

422: StatusUnprocessibleEntity

kubernetes_asyncio.dynamic.exceptions.api_exception(e: ApiException) Exception

Returns the proper Exception class for the given kubernetes.client.rest.ApiException object https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#success-codes