Creates a detailed Error containing information about the structures involved in the error along with the error message.