Commit 6104c35 1 parent 6623987 commit 6104c35 Copy full SHA for 6104c35
File tree 2 files changed +4
-0
lines changed
lib/datadog/core/transport/http/api
2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ module HTTP
7
7
module API
8
8
# An API configured with adapter and routes
9
9
class Instance
10
+ # Raised when an endpoint is invoked on an API that is not the
11
+ # of expected API class for that endpoint.
10
12
class EndpointNotSupportedError < StandardError
11
13
attr_reader :spec , :endpoint_name
12
14
Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ module API
8
8
# Specification for an HTTP API
9
9
# Defines behaviors without specific configuration details.
10
10
class Spec
11
+ # Raised when an endpoint is invoked on an API that did not
12
+ # define that endpoint.
11
13
class EndpointNotDefinedError < StandardError
12
14
attr_reader :spec , :endpoint_name
13
15
You can’t perform that action at this time.
0 commit comments