Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 629 Bytes

README.md

File metadata and controls

27 lines (18 loc) · 629 Bytes

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"))