Add the type given to the error