View Source K8s.Client.APIError exception (k8s v2.4.2)

Kubernetes API Error

Any HTTP Error with JSON error payload

Summary

Types

@type t() :: %K8s.Client.APIError{
  __exception__: true,
  message: String.t(),
  reason: String.t()
}

Functions

Link to this function

from_kubernetes_error(map)

View Source
@spec from_kubernetes_error(map()) :: {:error, t()}