init
This commit is contained in:
commit
72a26edcff
22092 changed files with 2101903 additions and 0 deletions
27
setup/src/SimpleExcel/Exception/SimpleExcelException.php
Normal file
27
setup/src/SimpleExcel/Exception/SimpleExcelException.php
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
<?php
|
||||
|
||||
namespace SimpleExcel\Exception;
|
||||
|
||||
/**
|
||||
* Defines SimpleExcel exception enum
|
||||
*
|
||||
* @author Faisalman
|
||||
* @package SimpleExcel
|
||||
*/
|
||||
|
||||
/** define exception enum */
|
||||
abstract class SimpleExcelException
|
||||
{
|
||||
const UNKNOWN = 0;
|
||||
const FILE_NOT_FOUND = 1;
|
||||
const FILE_EXTENSION_MISMATCH = 2;
|
||||
const ERROR_READING_FILE = 3;
|
||||
const INVALID_DOCUMENT_NAMESPACE = 4;
|
||||
const FIELD_NOT_FOUND = 5;
|
||||
const ROW_NOT_FOUND = 6;
|
||||
const COLUMN_NOT_FOUND = 7;
|
||||
const CELL_NOT_FOUND = 8;
|
||||
const FILETYPE_NOT_SUPPORTED = 9;
|
||||
const MALFORMED_JSON = 10;
|
||||
}
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue