https://github.com/invrs/industry-exception
Pretty error logging for StandardIO functions
https://github.com/invrs/industry-exception
Last synced: about 2 months ago
JSON representation
Pretty error logging for StandardIO functions
- Host: GitHub
- URL: https://github.com/invrs/industry-exception
- Owner: invrs
- Created: 2016-04-25T07:39:25.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-06-12T21:24:08.000Z (about 10 years ago)
- Last Synced: 2025-02-09T01:06:52.407Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# IndustryException [](https://travis-ci.org/invrs/industry-exception)
Pretty error logging for StandardIO functions.
## Usage
```js
import { factory } from "industry"
import { exception } from "industry-exception"
import { functions } from "industry-functions"
import { instance } from "industry-instance"
import { standard_io } from "industry-standard-io"
class Test {
hello() {
throw "world"
}
}
let test = factory(Test)
.set("exception", exception)
.set("functions", functions)
.set("instance", instance)
.set("standard_io", standard_io)
test.hello()
```