failed

Returns a response for a request that failed as a whole. Every question gets the failure outcome of its kind with the given reason, and requestFailure is set to that reason.

Return

a response whose outcomes are all failures

Parameters

spec

the spec that was being answered

reason

why the request failed