Exception: Pixaven::Errors::RequestTypeConflict

Inherits:
StandardError
  • Object
show all
Defined in:
lib/pixaven/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(type1, type2) ⇒ RequestTypeConflict

Returns a new instance of RequestTypeConflict.



8
9
10
# File 'lib/pixaven/errors.rb', line 8

def initialize(type1, type2)
    super("current type: #{type1}, attempted: #{type2}")
end