Fuel\Validation\ResultInterface::getError PHP Method

getError() public method

Gets an error message for the given field. Will return null if there is no message.
Since: 2.0
public getError ( string $field ) : string
$field string
return string
    public function getError($field);