Error constructor

Error(
  1. dynamic api,
  2. int errCode,
  3. String? errMessage
)

Implementation

Error(dynamic api, int errCode, String? errMessage) : super(api) {
  this._errCode = errCode;
  if (errMessage == null){
    this._errMessage = "";
  }else {
    this._errMessage = errMessage;
  }
}