Liking cljdoc? Tell your friends :D

gcp-ser-clj.core

Simple Error Reporting for Google Cloud (Stackdriver)

Simple Error Reporting for Google Cloud (Stackdriver)
raw docstring

reportclj

(report exception)
(report exception opts)

Send error to the authenticated Google Cloud Error Reporting.

If no options are provided, it falls back to application-wide GCP defaults.

Currently the following options are recognized (all optional):

keydescription
project-nameThe GCP project name to use.
clientA ReportErrorsServiceClient instance
service-nameThe Service to categorize the reported error under
service-versionThe version of the Service where the error occurred
Send error to the authenticated Google Cloud Error Reporting.

If no options are provided, it falls back to application-wide GCP defaults.

Currently the following options are recognized (all optional):

| key | description |
| --- | --- |
| `project-name` | The GCP project name to use. |
| `client` | A ReportErrorsServiceClient instance |
| `service-name` | The Service to categorize the reported error under |
| `service-version` | The version of the Service where the error occurred |
sourceraw docstring

with-error-reportingcljmacro

(with-error-reporting & body)

Convenience macro that reports (then re-throws) any Throwable that occurs while executing its body.

If a map is provided as first argument, it's used as the options map for report.

Convenience macro that reports (then re-throws) any Throwable that occurs while executing its body.

If a map is provided as first argument, it's used as the options map for [[report]].
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close