CGSException
Base exception type thrown by the CGS SDK.
Every exception CGS throws extends this, so one catch covers them all. In practice the concrete subclasses all mean the same thing — the SDK is wired up wrong — and are meant to be fixed during integration rather than handled at runtime.
Failures you can actually recover from are never thrown: they come back as a CgsError inside a CgsResult, a CgsStreamState or a LoadState.Error, or as a download's Failed state.
Parameters
message
optional human-readable description of the failure
cause
optional underlying throwable that triggered this exception