handle_stub_removal {webmockr}R Documentation

Handle stub removal

Description

Handle stub removal

Usage

handle_stub_removal(.data, code)

Arguments

.data

an object of class StubbedRequest required

code

a code block. required

Value

if no error, the result of running code; if an error occurs withCallingHandlers() throws a warning and then the stub is removed


[Package webmockr version 2.2.0 Index]