Exception: Ki::UnauthorizedError

Inherits:
ApiError show all
Defined in:
lib/ki/utils/api_error.rb

Overview

:nodoc:

Instance Attribute Summary

Attributes inherited from ApiError

#status

Instance Method Summary collapse

Methods inherited from ApiError

#result

Methods included from Descendants

#descendants

Constructor Details

#initialize(s = 'unauthroized', code = 401) ⇒ UnauthorizedError

Returns a new instance of UnauthorizedError.



38
39
40
# File 'lib/ki/utils/api_error.rb', line 38

def initialize(s = 'unauthroized', code = 401)
  super s, code
end