SDKError
Sealed class representing errors related to the SDK operations. Usage:
SDKError and PlayBackAPIError are sealed classes that represent different types of errors that can occur during SDK and API operations respectively.
SDKError has specific subclasses representing various initialization and licensing errors.
PlayBackAPIError has specific subclasses representing initialization errors, network errors, and API errors.
PlayBackAPIError provides a companion object with a factory method
apiError()
to create instances ofApiError
.