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)

botor documentation built on March 31, 2023, 9:53 p.m.