handleError static method

Exception handleError({
  1. required String msg,
})

Implementation

static Exception handleError({required String msg}) {
  return Exception(msg);
}