@override Record toRecord() { return (errCode: errCode, errStr: errStr, type: type, extMsg: extMsg); }