1: <?php
2:
3: namespace SimpleExcel\Enums;
4:
5: /**
6: * Defines SimpleExcel exception enum
7: *
8: * @author Faisalman
9: * @package SimpleExcel
10: */
11:
12: /** define exception enum */
13: abstract class SimpleExcelException
14: {
15: const UNKNOWN_ERROR = 0;
16: const FILE_NOT_FOUND = 1;
17: const FILE_EXTENSION_MISMATCH = 2;
18: const ERROR_READING_FILE = 3;
19: const INVALID_DOCUMENT_NAMESPACE = 4;
20: const WORKSHEET_NOT_FOUND = 5;
21: const ROW_NOT_FOUND = 6;
22: const COLUMN_NOT_FOUND = 7;
23: const CELL_NOT_FOUND = 8;
24: const FILETYPE_NOT_SUPPORTED = 9;
25: const MALFORMED_JSON = 10;
26: const UNIMPLEMENTED_METHOD = 11;
27: const DEPRECATED_METHOD = 12;
28: }
29: