Exception: Optidash::Errors::RequestTypeConflict
- Inherits:
-
StandardError
- Object
- StandardError
- Optidash::Errors::RequestTypeConflict
- Defined in:
- lib/optidash/errors.rb
Instance Method Summary collapse
-
#initialize(type1, type2) ⇒ RequestTypeConflict
constructor
A new instance of RequestTypeConflict.
Constructor Details
#initialize(type1, type2) ⇒ RequestTypeConflict
Returns a new instance of RequestTypeConflict.
8 9 10 |
# File 'lib/optidash/errors.rb', line 8 def initialize(type1, type2) super("current type: #{type1}, attempted: #{type2}") end |