View source: R/error_from_app.R
error_from_app | R Documentation |
This function is called to generate an in-band error reply to the API request. The remote requestor will still receive a bzip2-compressed JSON-formatted object, but that object will have a single field named "error", whose value is the string passed to this function.
error_from_app(error, ...)
error |
character scalar error message to return to app caller |
... |
additional parameters describing the error. These are JSON-encoded into the API response. |
Objects returned from successful API calls never include a top-level field called "error".
Similar to the return value from
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.