TerminalException

class TerminalException(val technicalError: TechnicalError) : Exception

Exception used by Java-friendly Terminal API callbacks for technical failures.

Business outcomes such as declines and user cancellation should be represented in result models, not as TerminalException.

Constructors

Link copied to clipboard
constructor(code: TechnicalErrorCode, message: String, recoverability: Recoverability, capability: String? = null)
constructor(technicalError: TechnicalError)

Properties

Link copied to clipboard