Invalid order of arguments was fixed in RequestStream's _onError method.