Failure

constructor(cgsError: CgsError, data: T? = null, failedAt: Date = Date())

Parameters

cgsError

what went wrong.

data

the last known value if the SDK still holds one, null otherwise. Not null means the screen can stay up with a discreet error rather than falling back to an error page.

failedAt

when it failed.