Move FormatError into parser