Exception: Beefcake::Message::InvalidValueError
- Inherits:
-
StandardError
- Object
- StandardError
- Beefcake::Message::InvalidValueError
- Defined in:
- lib/beefcake.rb
Instance Method Summary collapse
-
#initialize(name, val) ⇒ InvalidValueError
constructor
A new instance of InvalidValueError.
Constructor Details
#initialize(name, val) ⇒ InvalidValueError
Returns a new instance of InvalidValueError.
14 15 16 |
# File 'lib/beefcake.rb', line 14 def initialize(name, val) super("Invalid Value given for `#{name}`: #{val.inspect}") end |