static String exceptionMessage(Exception e) { switch (e) { case ProcessException _: return '$commandNotFound: [${e.errorCode}] ${e.message}'; default: return commandNotFound; } }