Get an error code

getErrorCode(object, tol, ...)

Arguments

object

a class object

tol

tolerance

...

additional parameters

Examples

setMethod("getErrorCode", "DormandPrince45", function(object) { return(object@error_code) })
#> [1] "getErrorCode"