TdError constructor

const TdError({
  1. required int code,
  2. required String message,
  3. dynamic extra,
  4. int? clientId,
})

An object of this type can be returned on every function call, in case of an error

Implementation

const TdError({
  required this.code,
  required this.message,
  this.extra,
  this.clientId,
});