provide details in error message