| 1 | <?php |
||
| 8 | class NotValid extends Error |
||
| 9 | { |
||
| 10 | const ERROR_CODE = 'NOT_VALID'; |
||
| 11 | |||
| 12 | /** @var string */ |
||
| 13 | protected $message = 'Value not valid for %column% (Caused by: %previous%)'; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * NotValid constructor |
||
| 17 | * |
||
| 18 | * @param Column $column The column that got a not valid error |
||
| 19 | * @param Error $previous The error from validate |
||
| 20 | */ |
||
| 21 | 3 | public function __construct(Column $column, Error $previous) |
|
| 28 | } |
||
| 29 |