time duration, errors to throw