class StaticTracing::Tracepoint::InvalidArgumentError
Public Class Methods
new(argument, expected_type)
click to toggle source
Calls superclass method
# File lib/ruby-static-tracing/tracepoint.rb, line 16 def initialize(argument, expected_type) error_message = <<~ERROR_MESSAGE We expected the fire arguments to match with the ones specified on the creation of the Tracepoint You passed #{argument} => #{argument.class} and we expected the argument to be type #{expected_type} ERROR_MESSAGE super(error_message) end