ContextBuilderError
public enum ContextBuilderError : Error
Enumeration representing various modes of failures when constructing an LDContext
.
-
The provided kind either contains invalid characters, or is the disallowed kind “kind”.
Declaration
Swift
case invalidKind
-
The
LDMultiContextBuilder
must be used when attempting to build a multi-context.Declaration
Swift
case requiresMultiBuilder
-
The JSON representations for the context was missing the “key” property.
Declaration
Swift
case emptyKey
-
Attempted to build a multi-context without providing any contexts.
Declaration
Swift
case emptyMultiKind
-
A multi-context cannot contain another multi-context.
Declaration
Swift
case nestedMultiKind
-
Attempted to build a multi-context containing 2 or more contexts with the same kind.
Declaration
Swift
case duplicateKinds