Learn R Programming

fcuk (version 0.1.21)

catch_error: Capture and parse an error message.

Description

Capture and parse an error message.

Usage

catch_error(sentence = geterrmessage())

Arguments

sentence

an error message to parse

Examples

Run this code
# NOT RUN {
catch_error()
catch_error("Error: object 'iri' not found\n")
catch_error("Error: object 'view' not found\n")


# }

Run the code above in your browser using DataLab