TdkException constructor

TdkException({
  1. required String message,
  2. required String code,
  3. String? originalMessage,
})

Creates a new TdkException.

The message is a user-friendly description of the error. The code is a unique identifier for the type of error. The originalMessage is an optional original error message.

Implementation

TdkException({
  required this.message,
  required this.code,
  this.originalMessage,
});