Exception: LogiAuth::ServerError
- Defined in:
- lib/logi_auth/errors.rb
Overview
Raised by Server for OAuth / transport failures.
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
-
#detail ⇒ Object
readonly
Returns the value of attribute detail.
Instance Method Summary collapse
-
#initialize(code, message, detail: nil) ⇒ ServerError
constructor
A new instance of ServerError.
Constructor Details
#initialize(code, message, detail: nil) ⇒ ServerError
Returns a new instance of ServerError.
28 29 30 31 32 |
# File 'lib/logi_auth/errors.rb', line 28 def initialize(code, , detail: nil) @code = code @detail = detail super() end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
26 27 28 |
# File 'lib/logi_auth/errors.rb', line 26 def code @code end |
#detail ⇒ Object (readonly)
Returns the value of attribute detail.
26 27 28 |
# File 'lib/logi_auth/errors.rb', line 26 def detail @detail end |