Exception: WixAnswers::Exceptions::UnsupportedType

Inherits:
StandardError
  • Object
show all
Defined in:
lib/wixanswers/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(payload_type, value) ⇒ UnsupportedType

Returns a new instance of UnsupportedType.



5
6
7
# File 'lib/wixanswers/exceptions.rb', line 5

def initialize(payload_type, value)
  super("Unsupported Payload #{payload_type.split('::')[-1]}: #{value}")
end