Exception: Lunetas::Error::APIError

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



35
36
37
# File 'lib/lunetas/error.rb', line 35

def code
  404 
end

#messageObject



38
39
40
# File 'lib/lunetas/error.rb', line 38

def message
  "API route error"
end