DataExceptionData: Data accessors for DataExceptions

Description Usage Arguments Value See Also

Description

Data elements used in the DataException hierarchy each have there own S3 based accessor methods which can be used to extract data from an exception if caught. All accessors can be used on any Exception derived object, returning NULL if the data element is not defined for that exception.

Usage

1
2
3
4
5
6
7
8
9
exceptionData(...)

## S3 method for class 'Exception'
exceptionData(e, ...)

exceptionLine(...)

## S3 method for class 'Exception'
exceptionLine(e, ...)

Arguments

...

Required for generic S3 method implementation, not used by any method defined here.

e

The Exception to query for a data element.

Value

exceptionData

Returns the data causing the exception, format varies).

exceptionPath

Returns a file system path (as a one-element character vector).

exceptionLine

Returns a file line number(as a one-element integer vector).

See Also

DataException


jefferys/Exception documentation built on May 19, 2019, 3:59 a.m.