Exception: Datadog::Profiling::Transport::HTTP::API::Spec::NoProfilesEndpointDefinedError
- Inherits:
-
StandardError
- Object
- StandardError
- Datadog::Profiling::Transport::HTTP::API::Spec::NoProfilesEndpointDefinedError
- Defined in:
- lib/ddtrace/profiling/transport/http/api/spec.rb
Overview
Raised when profiles sent but no profiles endpoint is defined
Instance Attribute Summary collapse
-
#spec ⇒ Object
readonly
Returns the value of attribute spec.
Instance Method Summary collapse
-
#initialize(spec) ⇒ NoProfilesEndpointDefinedError
constructor
A new instance of NoProfilesEndpointDefinedError.
- #message ⇒ Object
Constructor Details
#initialize(spec) ⇒ NoProfilesEndpointDefinedError
Returns a new instance of NoProfilesEndpointDefinedError.
28 29 30 |
# File 'lib/ddtrace/profiling/transport/http/api/spec.rb', line 28 def initialize(spec) @spec = spec end |
Instance Attribute Details
#spec ⇒ Object (readonly)
Returns the value of attribute spec.
26 27 28 |
# File 'lib/ddtrace/profiling/transport/http/api/spec.rb', line 26 def spec @spec end |
Instance Method Details
#message ⇒ Object
32 33 34 |
# File 'lib/ddtrace/profiling/transport/http/api/spec.rb', line 32 def 'No profiles endpoint is defined for API specification!' end |