Exception: Protobug::UnsupportedFeatureError
- Defined in:
- lib/protobug/errors.rb
Instance Method Summary collapse
-
#initialize(feature, msg) ⇒ UnsupportedFeatureError
constructor
A new instance of UnsupportedFeatureError.
Constructor Details
#initialize(feature, msg) ⇒ UnsupportedFeatureError
Returns a new instance of UnsupportedFeatureError.
8 9 10 11 |
# File 'lib/protobug/errors.rb', line 8 def initialize(feature, msg) @feature = feature super("feature #{feature} is unsupported: #{msg}") end |