handle_stub_removal: Handle stub removal
Description
Handle stub removal
Usage
handle_stub_removal(.data, code)
Value
if no error, the result of running code
; if an error occurs
withCallingHandlers()
throws a warning and then the stub is removed
Arguments
- .data
an object of class StubbedRequest
required
- code
a code block. required