bricks v0.1.0 Bricks.Error.Posix View Source

Wrapper for a POSIX error code

Link to this section Summary

Types

t()

Wrapper for a POSIX error code

Functions

Creates a new Posix from the given error code, unless the error code was :etimedout, when we return a Bricks.Error.Timeout

Link to this section Types

Link to this type t() View Source
t() :: %Bricks.Error.Posix{code: :inet.posix()}

Wrapper for a POSIX error code

Link to this section Functions

Creates a new Posix from the given error code, unless the error code was :etimedout, when we return a Bricks.Error.Timeout.