Exception: BlueFactory::AuthorizationError
- Inherits:
-
StandardError
- Object
- StandardError
- BlueFactory::AuthorizationError
- Defined in:
- lib/blue_factory/errors.rb
Instance Attribute Summary collapse
-
#error_type ⇒ Object
readonly
Returns the value of attribute error_type.
Instance Method Summary collapse
-
#initialize(message = "Authentication required", error_type = nil) ⇒ AuthorizationError
constructor
A new instance of AuthorizationError.
Constructor Details
#initialize(message = "Authentication required", error_type = nil) ⇒ AuthorizationError
Returns a new instance of AuthorizationError.
5 6 7 8 |
# File 'lib/blue_factory/errors.rb', line 5 def initialize( = "Authentication required", error_type = nil) super() @error_type = error_type end |
Instance Attribute Details
#error_type ⇒ Object (readonly)
Returns the value of attribute error_type.
3 4 5 |
# File 'lib/blue_factory/errors.rb', line 3 def error_type @error_type end |