# TODO: copied from common, do this more elegantly!
fromJSON <- function(x) jsonlite::fromJSON(x, TRUE, FALSE, FALSE)
toJSON <- function(x) jsonlite::toJSON(x, auto_unbox = TRUE, digits = NA, null = "null")
.extractErrorMessage <- function(error) {
split <- base::strsplit(as.character(error), ":")[[1]]
last <- split[[length(split)]]
trimws(last)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.