Get an error code
getErrorCode(object, tol, ...)
a class object
tolerance
additional parameters
setMethod("getErrorCode", "DormandPrince45", function(object) { return(object@error_code) })#> [1] "getErrorCode"