Exception: Twirbet::UnauthenticatedError

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



178
179
180
# File 'lib/twirbet/errors.rb', line 178

def code
  "unauthenticated"
end

#statusObject



183
184
185
# File 'lib/twirbet/errors.rb', line 183

def status
  401
end