index types =========== type ErrorType = enum (Unknown, FileNotFound, OutOfMemory) const [index ErrorType]String errorMessages = ["Unknown", "File not found", "Out of memory"]; const List errorMessages = ["Unknown", "File not found", "Out of memory"];