The mapping of potential errors when reading or data from the database.