View Source ExAzureSpeech.Common.Errors (ex_azure_speech v0.2.0)
Defines the error types for the Azure Cognitive Services Speech SDK.
Summary
Types
@type class() :: %{ :__struct__ => class_module(), :__exception__ => true, :errors => [t()], :class => error_class(), :bread_crumbs => [String.t()], :vars => Keyword.t(), :stacktrace => Splode.Stacktrace.t() | nil, :context => map(), optional(atom()) => any() }
@type class_module() ::
ExAzureSpeech.Common.Errors.Forbidden
| ExAzureSpeech.Common.Errors.Internal
| ExAzureSpeech.Common.Errors.InvalidResponse
| ExAzureSpeech.Common.Errors.InvalidRequest
| Splode.Error.Unknown
@type error_class() ::
:forbidden | :internal | :invalid_response | :invalid_request | :unknown
@type t() :: %{ :__struct__ => module(), :__exception__ => true, :class => error_class(), :bread_crumbs => [String.t()], :vars => Keyword.t(), :stacktrace => Splode.Stacktrace.t() | nil, :context => map(), optional(atom()) => any() }