meaning static method

String meaning(
  1. int code
)

What code means, one line.

Implementation

static String meaning(int code) => switch (code) {
  ok => 'nothing needs you',
  needsYou => 'something needs you: see "Needs you"',
  refused => 'refused: nothing was changed',
  decision => 'a decision about uncommitted work is open',
  _ => 'exit $code',
};