Exception: Axn::UnsupportedArgument

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

Instance Method Summary collapse

Constructor Details

#initialize(feature) ⇒ UnsupportedArgument

Returns a new instance of UnsupportedArgument.



76
77
78
79
# File 'lib/axn/exceptions.rb', line 76

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

Instance Method Details

#messageObject



81
82
83
84
85
# File 'lib/axn/exceptions.rb', line 81

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