diff --git a/R/dsl-parse-error.R b/R/dsl-parse-error.R index b9019376..3c08d7c8 100644 --- a/R/dsl-parse-error.R +++ b/R/dsl-parse-error.R @@ -18,6 +18,8 @@ ##' @return Nothing, this is called for its side effect only ##' ##' @export +##' @examples +##' monty_dsl_error_explain("E201") monty_dsl_error_explain <- function(code, how = "pretty") { error_explain(dsl_errors, code, how) } diff --git a/man/monty_dsl_error_explain.Rd b/man/monty_dsl_error_explain.Rd index 24727f2a..b18ad047 100644 --- a/man/monty_dsl_error_explain.Rd +++ b/man/monty_dsl_error_explain.Rd @@ -26,3 +26,6 @@ current implementation of this will send you to the rendered vignettes, but in the future we will arrange for offline rendering too. } +\examples{ +monty_dsl_error_explain("E201") +}