Exception: Datadog::Profiling::Transport::HTTP::API::Instance::ProfilesNotSupportedError
- Inherits:
-
StandardError
- Object
- StandardError
- Datadog::Profiling::Transport::HTTP::API::Instance::ProfilesNotSupportedError
- Defined in:
- lib/ddtrace/profiling/transport/http/api/instance.rb
Overview
Raised when profiles sent to API that does not support profiles
Instance Attribute Summary collapse
-
#spec ⇒ Object
readonly
Returns the value of attribute spec.
Instance Method Summary collapse
-
#initialize(spec) ⇒ ProfilesNotSupportedError
constructor
A new instance of ProfilesNotSupportedError.
- #message ⇒ Object
Constructor Details
#initialize(spec) ⇒ ProfilesNotSupportedError
Returns a new instance of ProfilesNotSupportedError.
24 25 26 |
# File 'lib/ddtrace/profiling/transport/http/api/instance.rb', line 24 def initialize(spec) @spec = spec end |
Instance Attribute Details
#spec ⇒ Object (readonly)
Returns the value of attribute spec.
22 23 24 |
# File 'lib/ddtrace/profiling/transport/http/api/instance.rb', line 22 def spec @spec end |
Instance Method Details
#message ⇒ Object
28 29 30 |
# File 'lib/ddtrace/profiling/transport/http/api/instance.rb', line 28 def 'Profiles not supported for this API!' end |