setError static method
Record the current Database error
Implementation
static void setError(Object? ex) {
if (ex is! Exception) {
ex = Exception(ex.toString());
}
_exception = ex;
}
Record the current Database error
static void setError(Object? ex) {
if (ex is! Exception) {
ex = Exception(ex.toString());
}
_exception = ex;
}