isTerminalCode static method
Whether code is a refusal a client cannot recover from.
The recoverable codes travel on the same ErrorMessage; the terminal ones
are listed in Protocol.terminalErrors.
Implementation
static bool isTerminalCode(String code) =>
Protocol.terminalErrors.contains(code);