try to retain information about why something is undefined