toMessage method
override
Implementation
@override
String toMessage() {
switch (code) {
case UpdateWelcomeMessageErrorCode.wrongAttachmentsCount:
case UpdateWelcomeMessageErrorCode.unknownAttachment:
case UpdateWelcomeMessageErrorCode.noTextAndNoAttachment:
return toString();
case UpdateWelcomeMessageErrorCode.artemisUnknown:
return 'err_unknown'.l10n;
}
}