public function __construct($message = "This entity cannot be found!", $code = 0, $previous = null) { parent::__construct($message, $code, $previous); }
public function __construct($violations, $message = "Something went wrong validating this Entity!", $code = 0, $previous = null) { $this->violations = $violations; parent::__construct($message, $code, $previous); }