kubernetes.client.exceptions module

Kubernetes

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

The version of the OpenAPI document: release-1.36 Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.

exception kubernetes.client.exceptions.ApiAttributeError(msg, path_to_item=None)

Bases: OpenApiException, AttributeError

exception kubernetes.client.exceptions.ApiException(status=None, reason=None, http_resp=None, *, body: str | None = None, data: Any | None = None)

Bases: OpenApiException

classmethod from_response(*, http_resp, body: str | None, data: Any | None) Self
exception kubernetes.client.exceptions.ApiKeyError(msg, path_to_item=None)

Bases: OpenApiException, KeyError

exception kubernetes.client.exceptions.ApiTypeError(msg, path_to_item=None, valid_classes=None, key_type=None)

Bases: OpenApiException, TypeError

exception kubernetes.client.exceptions.ApiValueError(msg, path_to_item=None)

Bases: OpenApiException, ValueError

exception kubernetes.client.exceptions.BadRequestException(status=None, reason=None, http_resp=None, *, body: str | None = None, data: Any | None = None)

Bases: ApiException

exception kubernetes.client.exceptions.ConflictException(status=None, reason=None, http_resp=None, *, body: str | None = None, data: Any | None = None)

Bases: ApiException

Exception for HTTP 409 Conflict.

exception kubernetes.client.exceptions.ForbiddenException(status=None, reason=None, http_resp=None, *, body: str | None = None, data: Any | None = None)

Bases: ApiException

exception kubernetes.client.exceptions.NotFoundException(status=None, reason=None, http_resp=None, *, body: str | None = None, data: Any | None = None)

Bases: ApiException

exception kubernetes.client.exceptions.OpenApiException

Bases: Exception

The base exception class for all OpenAPIExceptions

exception kubernetes.client.exceptions.ServiceException(status=None, reason=None, http_resp=None, *, body: str | None = None, data: Any | None = None)

Bases: ApiException

exception kubernetes.client.exceptions.UnauthorizedException(status=None, reason=None, http_resp=None, *, body: str | None = None, data: Any | None = None)

Bases: ApiException

exception kubernetes.client.exceptions.UnprocessableEntityException(status=None, reason=None, http_resp=None, *, body: str | None = None, data: Any | None = None)

Bases: ApiException

Exception for HTTP 422 Unprocessable Entity.

kubernetes.client.exceptions.render_path(path_to_item)

Returns a string representation of a path