Exception: Lunetas::Error::AuthenticationError

Inherits:
BaseError
  • Object
show all
Defined in:
lib/lunetas/error.rb

Instance Method Summary collapse

Methods inherited from BaseError

#to_json, #to_s

Instance Method Details

#codeObject



17
18
19
# File 'lib/lunetas/error.rb', line 17

def code
  401 
end

#messageObject



20
21
22
# File 'lib/lunetas/error.rb', line 20

def message
  "Permission denied"
end