Snex.Error exception (Snex v0.1.0)
View SourceDomain-specific errors returned by Snex
.
Summary
Types
The error code indicating a key is not found in the Snex.env/0
.
The error code indicating an environment referenced by the passed in Snex.env/0
is not found in
the Python interpreter that ran the command.
Error codes for all errors.
The error code for an internal error of Snex.
The error code for a runtime error.
The type of Snex.Error
.
Types
@type env_key_not_found() :: :env_key_not_found
The error code indicating a key is not found in the Snex.env/0
.
@type env_not_found() :: :env_not_found
The error code indicating an environment referenced by the passed in Snex.env/0
is not found in
the Python interpreter that ran the command.
@type error_code() :: python_runtime_error() | internal_error() | env_not_found() | env_key_not_found()
Error codes for all errors.
@type internal_error() :: :internal_error
The error code for an internal error of Snex.
@type python_runtime_error() :: :python_runtime_error
The error code for a runtime error.
@type t() :: %Snex.Error{ __exception__: true, code: error_code(), reason: String.t() | term() }
The type of Snex.Error
.