Skip to content

Commit 0ef9b0d

Browse files
committed
Move error constants to binding module and more 3-case evaluation model alignment
1 parent f172d35 commit 0ef9b0d

File tree

1 file changed

+0
-13
lines changed
  • lib/datadog/open_feature

1 file changed

+0
-13
lines changed

lib/datadog/open_feature/ext.rb

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,11 @@
33
module Datadog
44
module OpenFeature
55
module Ext
6-
# OpenFeature error codes
76
ERROR = 'ERROR'
87
INITIALIZING = 'INITIALIZING'
98
UNKNOWN_TYPE = 'UNKNOWN_TYPE'
109
PROVIDER_FATAL = 'PROVIDER_FATAL'
1110
PROVIDER_NOT_READY = 'PROVIDER_NOT_READY'
12-
TYPE_MISMATCH = 'TYPE_MISMATCH'
13-
PARSE_ERROR = 'PARSE_ERROR'
14-
FLAG_NOT_FOUND = 'FLAG_NOT_FOUND'
15-
16-
# Rust EvaluationError enum values (internal error codes)
17-
TYPE_MISMATCH_ERROR = 'TypeMismatch'
18-
CONFIGURATION_PARSE_ERROR = 'ConfigurationParseError'
19-
CONFIGURATION_MISSING = 'ConfigurationMissing'
20-
FLAG_UNRECOGNIZED_OR_DISABLED = 'FlagUnrecognizedOrDisabled'
21-
FLAG_DISABLED = 'FlagDisabled'
22-
DEFAULT_ALLOCATION_NULL = 'DefaultAllocationNull'
23-
INTERNAL_ERROR = 'Internal'
2411
end
2512
end
2613
end

0 commit comments

Comments
 (0)