Skip to content

Files

Latest commit

0274349 · Jan 31, 2020

History

History
This branch is 190 commits behind cljsjs/packages:master.

airbrake

cljsjs/airbrake

[cljsjs/airbrake "0.5.8-1"] ;; latest release

This jar comes with deps.cljs as used by the Foreign Libs feature of the ClojureScript compiler. After adding the above dependency to your project you can require the packaged library like so:

(ns your-ns
  (:require [cljsjs.airbrake]))

(def client
  (js/airbrakeJs.Client. #js{:projectId your-project-number
                             :projectKey "your-api-key"}))

(.notify client (js/Error. "An error message"))