Tinkex.Types.RequestFailedResponse (Tinkex v0.3.4)
View SourceResponse indicating a request has failed.
Mirrors Python tinker.types.RequestFailedResponse.
Summary
Types
@type t() :: %Tinkex.Types.RequestFailedResponse{ category: Tinkex.Types.RequestErrorCategory.t(), error: String.t() }
Functions
Parse from JSON map.
@spec new(String.t(), Tinkex.Types.RequestErrorCategory.t()) :: t()
Create a new RequestFailedResponse.