trypy: Extract error message from a Python exception

View source: R/utils.R

trypyR Documentation

Extract error message from a Python exception

Description

Extract error message from a Python exception

Usage

trypy(expression)

Arguments

expression

R expression

Value

error

Examples

## Not run: 
trypy(botor()$resource('foobar'))
trypy(sum(1:2))
trypy(sum(1:1foo))

## End(Not run)

daroczig/botor documentation built on March 15, 2023, 12:23 p.m.