# exceptionhandler

> To assist coders with difficult errors. Not for use in production.

Latest version **1.3.1** (published 2016-04-30) · ISC license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install exceptionhandler
pnpm add exceptionhandler
yarn add exceptionhandler
bun add exceptionhandler
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.3.1 |
| Published | 2016-04-30 |
| First published | 2016-04-30 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Nathan Schwartz |
| Maintainers | nathan-schwartz |

## Links

- npm: https://www.npmjs.com/package/exceptionhandler
- npm.io page: https://npm.io/package/exceptionhandler

## Recent versions

- 1.3.1 (latest) — 2016-04-30
- 1.3.0 — 2016-04-30
- 1.2.0 — 2016-04-30
- 1.1.0 — 2016-04-30
- 1.0.3 — 2016-04-30
- 1.0.2 — 2016-04-30
- 1.0.1 — 2016-04-30
- 1.0.0 — 2016-04-30

## README

## A development tool to help resolve unhandled errors.

### Usage
> npm install --save exceptionhandler

Returns a function that takes two boolean parameters.

```javascript
var errhandler require('exceptionhandler')
errhandler(true, true)
```

#### First parameter
true: Open in a new window 

false: Redirect current page

#### Second parameter
true: Search StackOverflow for error message

false: Search lmgtfy for error message

---
_Source: https://npm.io/package/exceptionhandler · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
