error static method

WitsystemError error(
  1. String code
)

Implementation

static WitsystemError error(String code) {
  return _errMap[code] ?? unknown;
}