TdkException constructor
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,
});