MomentsAPIError Enumeration Reference
public enum MomentsAPIError : Error, ErrorEnum, ErrorWrapping
Errors that can occur when using the Moments API module.
-
The engine ID provided is invalid (empty or malformed). Engine IDs must be non-empty strings that identify a valid Moments 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 Moments 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 Moments API operation. This wraps underlying errors from other system components.
Declaration
Swift
case underlyingError(_: Error)