Skip to content

Commit

Permalink
Add example for error explain
Browse files Browse the repository at this point in the history
  • Loading branch information
richfitz committed Sep 18, 2024
1 parent 614ae1d commit f8727fb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/dsl-parse-error.R
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down
3 changes: 3 additions & 0 deletions man/monty_dsl_error_explain.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f8727fb

Please sign in to comment.