retrieve_errors function

Expose errors of the response

Expose errors of the response

retrieve_errors(expr = NULL)

Arguments

  • expr: An expression that might cause an error. If NULL it looks for the last error.

Examples

if (FALSE){ new_rule <- stream_add_rule(list(value = "#rstats", tag = "rstats1")) stream_add_rule(list(value = "#rstats", tag = "rstats2")) # ERROR # See the full information provided by the API: retrieve_errors(stream_add_rule(list(value = "#rstats", tag = "rstats2"))) retrieve_errors() }
  • Maintainer: Lluís Revilla Sancho
  • License: MIT + file LICENSE
  • Last published: 2024-02-24