Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nuid/exception

Cross-platform exception facilities
https://github.com/nuid/exception

clj cljc cljs clojure clojurescript exception exception-handling exceptions

Last synced: 5 days ago
JSON representation

Cross-platform exception facilities

Awesome Lists containing this project

README

        

# nuid.exception

Cross-platform exception facilities.

## Requirements

[`jvm`](https://www.java.com/en/download/), [`node + npm`](https://nodejs.org/en/download/), [`clj`](https://clojure.org/guides/getting_started), [`shadow-cljs`](https://shadow-cljs.github.io/docs/UsersGuide.html#_installation)

## Clojure and ClojureScript

### tools.deps:

`{nuid/exception {:git/url "https://github.com/nuid/exception" :sha "..."}}`

### usage:

```
$ clj # or shadow-cljs node-repl
=> (require '[nuid.exception :as exception])
=> (exception/throw! {::exception/message "I failed!"})
```

## Licensing

Apache v2.0 or MIT