Exception: Twirbet::CanceledError

Inherits:
BaseError
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/twirbet/errors.rb

Instance Attribute Summary

Attributes inherited from BaseError

#metadata

Instance Method Summary collapse

Methods inherited from BaseError

#initialize, #to_hash, #to_json, #to_rack_response

Constructor Details

This class inherits a constructor from Twirbet::BaseError

Instance Method Details

#codeObject



52
53
54
# File 'lib/twirbet/errors.rb', line 52

def code
  "canceled"
end

#statusObject



57
58
59
# File 'lib/twirbet/errors.rb', line 57

def status
  400
end