beanstix v0.1.0 Beanstix.Error exception

Error returned by Beanstalkd.

Link to this section Summary

Functions

This function formats an error reason into a human-readable string.

Link to this section Types

Link to this type

t()

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

Link to this section Functions

Link to this function

format_error(reason)

format_error(:inet.posix() | :tcp_closed | :closed) :: binary()

This function formats an error reason into a human-readable string.

This function can be used to turn an error reason (returned in {:error, reason} by command/3 and pipeline/3) into a human-readable message string.