Exception: Axn::UnsupportedArgument

Inherits:
ArgumentError
  • Object
show all
Includes:
Error
Defined in:
lib/axn/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(feature) ⇒ UnsupportedArgument

Returns a new instance of UnsupportedArgument.



351
352
353
354
# File 'lib/axn/exceptions.rb', line 351

def initialize(feature)
  @feature = feature
  super()
end

Instance Method Details

#messageObject



356
357
358
359
360
# File 'lib/axn/exceptions.rb', line 356

def message
  "#{@feature} is not currently supported.\n\n" \
    "Implementation is technically possible but very complex. " \
    "Please submit a Github Issue if you have a real-world need for this functionality."
end