report_error {googleErrorReportingR} | R Documentation |
Report error to Google Error Reporting
Description
Report error to Google Error Reporting
Usage
report_error(message, project_id = NULL, api_key = NULL)
Arguments
message |
the error report to be written out to the |
project_id |
the project id where you want to monitor the error reports |
api_key |
the google API key with authorisation to write to the Google Error Reporting API |
Value
No return, we focus on side effect
Examples
## Not run:
report_error(project_id, api_key, message)
#If you have set the environmental variables "PROJECT_ID" and
#"ERROR_REPORTING_API_KEY" then you can make shorter calls like so
report_error(message)
## End(Not run)
[Package googleErrorReportingR version 0.0.4 Index]