databaseError function
Implementation
Never databaseError(String msg, [TComponent? comp]) {
if (comp != null && comp.name != '') {
throw EDatabaseError("${comp.name} : $msg");
}
throw EDatabaseError(msg);
}
Never databaseError(String msg, [TComponent? comp]) {
if (comp != null && comp.name != '') {
throw EDatabaseError("${comp.name} : $msg");
}
throw EDatabaseError(msg);
}