Exception: Protobug::UnsupportedFeatureError

Inherits:
Error
  • Object
show all
Defined in:
lib/protobug/errors.rb

Instance Method Summary collapse

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