Redix v0.6.1 Redix.Error exception

Error returned by Redis.

This exception represents semantic errors returned by Redis: for example, non-existing commands or operations on keys with the wrong type (INCR not_an_integer).

Summary

Functions

Callback implementation for Exception.exception/1

Callback implementation for Exception.message/1

Types

t()
t() :: %Redix.Error{__exception__: term, message: binary}

Functions

exception(msg)
exception(String.t) :: Exception.t
exception(Keyword.t) :: Exception.t

Callback implementation for Exception.exception/1.

message(exception)
message(Exception.t) :: String.t

Callback implementation for Exception.message/1.