RosettaCodeData/Task/Exceptions/R/exceptions-2.r

3 lines
94 B
R
Raw Permalink Normal View History

2013-04-10 16:57:12 -07:00
stop("An error has occured")
stop(e) #where e is a simpleError, as above