adds a new error type to retry logic