QlikElixir.Error (qlik_elixir v0.2.1)
View SourceCustom error types for QlikElixir operations.
Summary
Functions
Creates an authentication error.
Creates a configuration error.
Creates a file exists error.
Creates a file not found error.
Creates a file too large error.
Creates a network error.
Creates a new error with the given type and message.
Creates an unknown error.
Creates an upload error.
Creates a validation error.
Types
@type error_type() ::
:validation_error
| :upload_error
| :authentication_error
| :configuration_error
| :file_exists_error
| :file_not_found
| :file_too_large
| :network_error
| :unknown_error
@type t() :: %QlikElixir.Error{ details: map() | nil, message: String.t(), request: map() | nil, response: map() | nil, type: error_type() }
Functions
Creates an authentication error.
Creates a configuration error.
Creates a file exists error.
Creates a file not found error.
Creates a file too large error.
Creates a network error.
@spec new(error_type(), String.t(), keyword()) :: t()
Creates a new error with the given type and message.
Creates an unknown error.
Creates an upload error.
Creates a validation error.