30 lines
679 B
Swift
30 lines
679 B
Swift
//
|
|
// CSVError.swift
|
|
// CSV
|
|
//
|
|
// Created by Yasuhiro Hatta on 2016/06/11.
|
|
// Copyright © 2016 yaslab. All rights reserved.
|
|
//
|
|
|
|
/// No overview available.
|
|
public enum CSVError: Error {
|
|
|
|
/// No overview available.
|
|
case cannotOpenFile
|
|
/// No overview available.
|
|
case cannotReadFile
|
|
/// No overview available.
|
|
case cannotWriteStream
|
|
/// No overview available.
|
|
case streamErrorHasOccurred(error: Error)
|
|
/// No overview available.
|
|
case unicodeDecoding
|
|
/// No overview available.
|
|
case cannotReadHeaderRow
|
|
/// No overview available.
|
|
case stringEncodingMismatch
|
|
/// No overview available.
|
|
case stringEndianMismatch
|
|
|
|
}
|