If there is no pear error, create an error.