K8s.Client.APIError exception (k8s v2.7.0)

View Source

Kubernetes API Error

Any HTTP Error with JSON error payload

Summary

Types

t()

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

Functions

from_kubernetes_error(map)

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