The convert() function generates a domain error when the function’s argument falls outside the range over which the function is defined. This happens rarely.