Exception: BlueFactory::InvalidRequestError
- Inherits:
-
StandardError
- Object
- StandardError
- BlueFactory::InvalidRequestError
- 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, error_type = nil) ⇒ InvalidRequestError
constructor
A new instance of InvalidRequestError.
Constructor Details
#initialize(message, error_type = nil) ⇒ InvalidRequestError
Returns a new instance of InvalidRequestError.
17 18 19 20 |
# File 'lib/blue_factory/errors.rb', line 17 def initialize(, error_type = nil) super() @error_type = error_type end |
Instance Attribute Details
#error_type ⇒ Object (readonly)
Returns the value of attribute error_type.
15 16 17 |
# File 'lib/blue_factory/errors.rb', line 15 def error_type @error_type end |