Current section

Files

Jump to
hedgex lib hedgex req_error.ex
Raw

lib/hedgex/req_error.ex

defmodule Hedgex.ReqError do
@moduledoc """
An HTTP-level error returned by Req
"""
defexception [:error]
@type t() :: %__MODULE__{
error: Exception.t()
}
@impl true
def message(%__MODULE__{error: error}) do
Exception.message(error)
end
end