View Source BitpandaApi.Api.Error (Bitpanda API v0.1.0)

This module exposes the API Error

Link to this section Summary

Types

t()

Api error

Error type

Link to this section Types

@type t() :: %BitpandaApi.Api.Error{message: String.t() | nil, type: type()}

Api error

@type type() :: :http | :parse | :no_such_asset | :unauthorized | :server_error

Error type

Link to this section Functions

@spec http_error(HTTPoison.Error.t()) :: t()
@spec no_such_asset(String.t()) :: t()
@spec parse_error(String.t()) :: t()
@spec server_error() :: t()
@spec unauthorized() :: t()