# errorable-merchant

> merchant errors for errorable

Latest version **0.0.2** (published 2016-03-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install errorable-merchant
pnpm add errorable-merchant
yarn add errorable-merchant
bun add errorable-merchant
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2016-03-05 |
| First published | 2016-03-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | calidion |
| Maintainers | coolicer |
| Keywords | error, node, merchant |

## Links

- npm: https://www.npmjs.com/package/errorable-merchant
- Repository: https://github.com/Errorable/merchant
- Homepage: https://github.com/Errorable/merchant#readme
- Issues: https://github.com/Errorable/merchant/issues
- npm.io page: https://npm.io/package/errorable-merchant

## Alternatives

- [@sentry/react-native](https://npm.io/package/@sentry/react-native.md) — 2.6M weekly downloads
- [@ardatan/aggregate-error](https://npm.io/package/@ardatan/aggregate-error.md) — 708.1K weekly downloads
- [custom-error-generator](https://npm.io/package/custom-error-generator.md) — 2.0K weekly downloads
- [@technik-sde/prosemirror-recreate-transform](https://npm.io/package/@technik-sde/prosemirror-recreate-transform.md) — 1.5K weekly downloads
- [@suchipi/error-utils](https://npm.io/package/@suchipi/error-utils.md) — 78 weekly downloads

## Recent versions

- 0.0.2 (latest) — 2016-03-05
- 0.0.1 — 2016-03-04

## README

# errorable-merchant [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url] [![Coverage percentage][coveralls-image]][coveralls-url]
> merchant errors for errorable

## Installation

```sh
$ npm install --save errorable-merchant
```

## Usage

```js
var errorable = require('errorable');
var errorableMerchant = require('errorable-merchant');
var Generator = errorable.Generator;
var cnErrors = new Generator(errorableMerchant, 'zh-CN').errors;
var enUsErrors = new Generator(errorableMerchant, 'en-US').errors;

// MerchantIdErrorIdError
console.log(cnErrors.MerchantIdErrorIdError.message); // 商户ID错误！
console.log(enUsErrors.MerchantIdErrorIdError.message); // Merchant ID Error!
// MerchantNotLoggedIn
console.log(cnErrors.MerchantNotLoggedIn.message); // 商户未登录！
console.log(enUsErrors.MerchantNotLoggedIn.message); // Merchant Not Logged In!
// MerchantNotFound
console.log(cnErrors.MerchantNotFound.message); // 商户未找到！
console.log(enUsErrors.MerchantNotFound.message); // Merchant Not Found!
```
## License

MIT © [calidion](calidion.github.io)


[npm-image]: https://badge.fury.io/js/errorable-merchant.svg
[npm-url]: https://npmjs.org/package/errorable-merchant
[travis-image]: https://travis-ci.org/Errorable/merchant.svg?branch=master
[travis-url]: https://travis-ci.org/Errorable/merchant
[daviddm-image]: https://david-dm.org/Errorable/merchant.svg?theme=shields.io
[daviddm-url]: https://david-dm.org/Errorable/merchant
[coveralls-image]: https://coveralls.io/repos/Errorable/merchant/badge.svg
[coveralls-url]: https://coveralls.io/r/Errorable/merchant

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