| 1 | <?php  | 
            ||
| 8 | class Exceptions extends Exception  | 
            ||
| 9 | { | 
            ||
| 10 | /**  | 
            ||
| 11 | * @param Model $model  | 
            ||
| 12 | *  | 
            ||
| 13 | * @return static  | 
            ||
| 14 | */  | 
            ||
| 15 | public static function columnNotFound(Model $model)  | 
            ||
| 16 |     { | 
            ||
| 17 |         return new static("Could not find specified column on table `{$model->getTable()}`."); | 
            ||
| 18 | }  | 
            ||
| 19 | |||
| 20 | /**  | 
            ||
| 21 | * @return static  | 
            ||
| 22 | */  | 
            ||
| 23 | public static function columnNotSet()  | 
            ||
| 27 | |||
| 28 | /**  | 
            ||
| 29 | * @return static  | 
            ||
| 30 | */  | 
            ||
| 31 | public static function numberUnValid($number)  | 
            ||
| 35 | |||
| 36 | /**  | 
            ||
| 37 | * @return static  | 
            ||
| 38 | */  | 
            ||
| 39 | public static function numberNotPositive($number)  | 
            ||
| 43 | }  | 
            ||
| 44 |