ContextAPIError

public enum ContextAPIError : Error, ErrorEnum, ErrorWrapping

Errors that can occur when using the Context API module.

  • The engine ID provided is invalid (empty or malformed). Engine IDs must be non-empty strings that identify a valid Context API engine in your Tealium account.

    Declaration

    Swift

    case invalidEngineID
  • A configuration error occurred, such as invalid account settings, malformed URLs, or missing required parameters. The associated string provides specific details about the configuration issue.

    Declaration

    Swift

    case configurationError(String)
  • The network request to the Context API failed. This includes HTTP errors, connectivity issues, timeouts, or invalid responses from the server.

    Declaration

    Swift

    case networkError(NetworkError)
  • An unexpected error occurred during a Context API operation. This wraps underlying errors from other system components.

    Declaration

    Swift

    case underlyingError(_: Error)