Exception: Etna::Unauthorized

Inherits:
Error
  • Object
show all
Defined in:
lib/etna/errors.rb

Instance Attribute Summary

Attributes inherited from Error

#level, #status

Instance Method Summary collapse

Constructor Details

#initialize(msg = 'Unauthorized request', status = 401) ⇒ Unauthorized

Returns a new instance of Unauthorized.



20
21
22
# File 'lib/etna/errors.rb', line 20

def initialize(msg = 'Unauthorized request', status = 401)
  super
end