Match the type of error to the corresponding source of the error.