Learn R Programming

R.oo (version 1.21.0)

throw.error: Throws (rethrows) an object of class 'error'

Description

Rethrows an 'error' object. The 'error' class was introduced in R v1.8.1 with the new error handling mechanisms.

Usage

# S3 method for error
throw(error, ...)

Arguments

error

An object or class 'error'.

...

Not used.

Value

Returns nothing.

See Also

See the tryCatch() method etc. See the Exception class for more detailed information.