Skip to contents

Runs a call, captures its error-time stack, and reports the frames owned by the entry function's package (or local top-level environment). When possible, the last such frame includes its source and evaluated arguments.

Usage

explain_error(expr)

Arguments

expr

An unevaluated function call expected to fail.

Value

An object of class insider_error_explanation.