use deferred error spec