Exception: Hubbado::Trailblazer::Errors::Unauthorized
- Inherits:
-
StandardError
- Object
- StandardError
- Hubbado::Trailblazer::Errors::Unauthorized
- Defined in:
- lib/hubbado/trailblazer/errors.rb
Instance Attribute Summary collapse
-
#result ⇒ Object
readonly
Returns the value of attribute result.
Instance Method Summary collapse
-
#initialize(message = nil, result = nil) ⇒ Unauthorized
constructor
A new instance of Unauthorized.
Constructor Details
#initialize(message = nil, result = nil) ⇒ Unauthorized
Returns a new instance of Unauthorized.
7 8 9 10 11 |
# File 'lib/hubbado/trailblazer/errors.rb', line 7 def initialize( = nil, result = nil) @result = result super() end |
Instance Attribute Details
#result ⇒ Object (readonly)
Returns the value of attribute result.
5 6 7 |
# File 'lib/hubbado/trailblazer/errors.rb', line 5 def result @result end |