Skip to content

httpproblems 1.0.0

Compare
Choose a tag to compare
@atheriel atheriel released this 11 Mar 19:20
· 14 commits to main since this release
  • Initial release. httpproblems provides tools for emitting the "Problem Details" structure defined in RFC 7807. It is intended to help R users report errors from HTTP APIs in a consistent, standard way.

  • Provides http_problem() for creating the Problem Details structure, plus several helper functions for HTTP 400 Bad Request, 404 Not Found, 401 Unauthorized, 403 Forbidden, 409 Conflict, and 500 Internal Server Error.

  • Provides stop_for_*() variants that signal a custom condition for these problems.

  • Provides http_problem_types() for listing built-in type and title entries.