Exception: Isy::ArgumentTypeMismatch
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- Isy::ArgumentTypeMismatch
- Defined in:
- lib/isy/exceptions.rb
Instance Method Summary collapse
-
#initialize(subject:, caller_method:) ⇒ ArgumentTypeMismatch
constructor
A new instance of ArgumentTypeMismatch.
Constructor Details
#initialize(subject:, caller_method:) ⇒ ArgumentTypeMismatch
Returns a new instance of ArgumentTypeMismatch.
3 4 5 |
# File 'lib/isy/exceptions.rb', line 3 def initialize subject:, caller_method: super "#{subject.inspect} isn't a valid argument for ##{caller_method}" end |