Better hash error messages