handle_stub_removal: Handle stub removal

View source: R/error-handling.R

handle_stub_removalR 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


ropensci/webmockr documentation built on June 14, 2025, 1:24 p.m.