ExAzureCore.Errors.NetworkError exception (ex_azure_core v0.2.0)

Copy Markdown

Network-related error when connecting to external services fails.

Summary

Types

t()

@type t() :: %ExAzureCore.Errors.NetworkError{
  __exception__: term(),
  bread_crumbs: term(),
  class: term(),
  endpoint: String.t() | nil,
  path: term(),
  reason: any(),
  service: String.t(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}

Functions

exception(args)

@spec exception(opts :: Keyword.t()) :: %ExAzureCore.Errors.NetworkError{
  __exception__: term(),
  bread_crumbs: term(),
  class: term(),
  endpoint: term(),
  path: term(),
  reason: term(),
  service: term(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}

Create an Elixir.ExAzureCore.Errors.NetworkError without raising it.

Keys

  • :service
  • :endpoint
  • :reason