Nothing
Code
.stbl_abort("A message.", "a_subclass")
Condition
Error:
! A message.
Code
.stbl_abort("child message", "child_class", parent = parent_cnd)
Condition
Error:
! child message
Caused by error:
! parent message
Code
.stbl_abort("A message.", "a_subclass", .internal = TRUE)
Condition
Error:
! A message.
i This is an internal error that was detected in the stbl package.
Please report it at <https://github.com/api2r/stbl/issues> with a reprex (<https://tidyverse.org/help/>) and the full backtrace.
Code
.stbl_abort("This message comes from {var}.", "subclass", message_env = msg_env)
Condition
Error:
! This message comes from a custom environment.
Code
.stop_cant_coerce("character", "integer", "my_arg", rlang::current_env())
Condition
Error:
! Can't coerce `my_arg` <character> to <integer>.
Code
.stop_cant_coerce("character", "integer", "my_arg", rlang::current_env(),
additional_msg = c(x = "An extra message."))
Condition
Error:
! Can't coerce `my_arg` <character> to <integer>.
x An extra message.
Code
.stop_must("must be a foo.", "my_arg", rlang::current_env())
Condition
Error:
! `my_arg` must be a foo.
Code
.stop_must("must be a foo.", "my_arg", rlang::current_env(), subclass = "my_custom_class")
Condition
Error:
! `my_arg` must be a foo.
Code
.stop_must("must be a foo.", "my_arg", rlang::current_env(), additional_msg = c(
`*` = "Some details."))
Condition
Error:
! `my_arg` must be a foo.
* Some details.
Code
.stop_null("my_arg", rlang::current_env())
Condition
Error:
! `my_arg` must not be <NULL>.
Code
.stop_null("my_arg", rlang::current_env(), .internal = TRUE)
Condition
Error:
! `my_arg` must not be <NULL>.
i This is an internal error that was detected in the stbl package.
Please report it at <https://github.com/api2r/stbl/issues> with a reprex (<https://tidyverse.org/help/>) and the full backtrace.
Code
.stop_incompatible("character", integer(), c(FALSE, TRUE, FALSE, TRUE),
"some reason", "my_arg", rlang::current_env())
Condition
Error:
! `my_arg` <character> must be coercible to <integer>
x Can't convert some values due to some reason.
* Locations: 2 and 4
Code
.stop_incompatible("character", integer(), c(FALSE, TRUE, FALSE, TRUE),
"some reason", "my_arg", rlang::current_env(), .internal = TRUE)
Condition
Error:
! `my_arg` <character> must be coercible to <integer>
x Can't convert some values due to some reason.
* Locations: 2 and 4
i This is an internal error that was detected in the stbl package.
Please report it at <https://github.com/api2r/stbl/issues> with a reprex (<https://tidyverse.org/help/>) and the full backtrace.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.