Get all error codes as a list
static List<String> getAllCodes() { return OsmosErrorCodes.values.map((e) => e.code).toList(); }