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


webmockr documentation built on April 4, 2025, 12:08 a.m.