View Source K8s.Client.APIError exception (k8s v2.0.0-rc.2)

Kubernetes API Error

Any HTTP Error with JSON error payload

Link to this section Summary

Link to this section Types

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

Link to this section Functions

Link to this function

from_kubernetes_error(map)

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