Skip to content

Commit 6104c35

Browse files
committed
comments
1 parent 6623987 commit 6104c35

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

lib/datadog/core/transport/http/api/instance.rb

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ module HTTP
77
module API
88
# An API configured with adapter and routes
99
class Instance
10+
# Raised when an endpoint is invoked on an API that is not the
11+
# of expected API class for that endpoint.
1012
class EndpointNotSupportedError < StandardError
1113
attr_reader :spec, :endpoint_name
1214

lib/datadog/core/transport/http/api/spec.rb

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ module API
88
# Specification for an HTTP API
99
# Defines behaviors without specific configuration details.
1010
class Spec
11+
# Raised when an endpoint is invoked on an API that did not
12+
# define that endpoint.
1113
class EndpointNotDefinedError < StandardError
1214
attr_reader :spec, :endpoint_name
1315

0 commit comments

Comments
 (0)