Class: Tide::API::Error

Inherits:
Dry::Struct::Value
  • Object
show all
Defined in:
lib/tide/api/error.rb

Overview

An error resulting from an API call

Instance Method Summary collapse

Instance Method Details

#codeInteger

A code that uniquely identifies the error



9
# File 'lib/tide/api/error.rb', line 9

attribute :code, Types::Strict::Integer

#detailsString|nil

A long description of the error. Unfortunately, it is null most of the time.



21
# File 'lib/tide/api/error.rb', line 21

attribute :details, Types::Strict::String.optional

#messageString

A human readable description of the code



15
# File 'lib/tide/api/error.rb', line 15

attribute :message, Types::Strict::String