Ability to get transaction from exception and setting response in request error event