R.oo (version 1.26.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, ...)

Value

Returns nothing.

Arguments

error

An object or class 'error'.

...

Not used.

Author

Henrik Bengtsson

See Also

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