Exception: StaticTracing::Tracers::InvalidTracerError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/ruby-static-tracing/tracers.rb

Overview

Error for an invalid tracer

Instance Method Summary collapse

Constructor Details

#initializeInvalidTracerError

Returns a new instance of InvalidTracerError.



9
10
11
12
13
14
15
16
17
# File 'lib/ruby-static-tracing/tracers.rb', line 9

def initialize
  msg = <<~MSG
    You need to add a valid tracer.

    To create a valid tracer please inherit from StaticTracing::Tracer::Base
    and follow the guide on how to create tracers
  MSG
  super(msg)
end