Ankusa.SDK.RoutesRejectedError exception (ankusa_sdk v0.6.0)

Copy Markdown View Source

The listener rejected the request (400 or any other non-404 4xx).

:code is the body's error field (invalid_route, duplicate_route, too_many_routes, ...); :field, :message, :conflicting_id, :max_routes and :scope are carried through when the body supplies them. :scope is the scope a 403 forbidden says the credential lacks (control planes require a credential since Ankusa 0.6).

Summary

Types

t()

@type t() :: %Ankusa.SDK.RoutesRejectedError{
  __exception__: term(),
  code: String.t() | nil,
  conflicting_id: String.t() | nil,
  field: String.t() | nil,
  max_routes: non_neg_integer() | nil,
  message: String.t() | nil,
  retryable: term(),
  scope: String.t() | nil,
  status: non_neg_integer()
}