Sha256: 11356f8574bec5be52db70870fcadfa95e21412ad7d20f6cb2e761a86b248d74

Contents?: true

Size: 458 Bytes

Versions: 10

Compression:

Stored size: 458 Bytes

Contents

# typed: strict
# frozen_string_literal: true

module OpenFeature
  # Possible error codes
  class ErrorCode < T::Enum
    enums do
      ProviderNotReady = new("PROVIDER_NOT_READY")
      FlagNotFound = new("FLAG_NOT_FOUND")
      ParseError = new("PARSE_ERROR")
      TypeMismatch = new("TYPE_MISMATCH")
      TargetingKeyMissing = new("TARGETING_KEY_MISSING")
      InvalidContext = new("INVALID_CONTEXT")
      General = new("GENERAL")
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
openfeature-sdk-sorbet-0.4.0 lib/open_feature/error_code.rb
openfeature-sdk-sorbet-0.3.1 lib/open_feature/error_code.rb
openfeature-sdk-sorbet-0.3.0 lib/open_feature/error_code.rb
openfeature-sdk-sorbet-0.2.0.2 lib/open_feature/error_code.rb
openfeature-sdk-sorbet-0.2.1 lib/open_feature/error_code.rb
openfeature-sdk-sorbet-0.2.0.1 lib/open_feature/error_code.rb
openfeature-sdk-sorbet-0.2.0 lib/open_feature/error_code.rb
openfeature-sdk-sorbet-0.1.2 lib/open_feature/error_code.rb
openfeature-sdk-sorbet-0.1.1 lib/open_feature/error_code.rb
openfeature-sdk-sorbet-0.1.0 lib/open_feature/error_code.rb