protected function addError($property, $message)
    {
        $this->validationErrors->forProperty($property)->addError(new Error($message, time()));
    }
protected function addError($property, $message)
    {
        $this->validationErrors->forProperty($property)->addError(new Error($message, time()));
    }
protected function addError ( $ property , $ message ) { $ this -> validationErrors -> forProperty ( $ property ) -> addError ( new Error ( $ message , time ( ) ) ) ; }
Register a validation error

@param string $property Property
@param string $message  Validation error message
Register a validation error