{
	"name": "create-error-class",
	"versions": {
		"1.0.0": {
			"name": "create-error-class",
			"version": "1.0.0",
			"description": "Create Error classes",
			"license": "MIT",
			"repository": {
				"type": "git",
				"url": "https://github.com/floatdrop/create-error-class"
			},
			"author": {
				"name": "Vsevolod Strukchinsky",
				"email": "floatdrop@gmail.com",
				"url": "github.com/floatdrop"
			},
			"engines": {
				"node": ">=0.10.0"
			},
			"scripts": {
				"test": "mocha"
			},
			"files": [
				"index.js"
			],
			"keywords": [],
			"dependencies": {
				"object-assign": "^3.0.0"
			},
			"devDependencies": {
				"mocha": "*"
			},
			"gitHead": "07c3b108d16dd8cbd535dafac9549e9bb023e7d5",
			"bugs": {
				"url": "https://github.com/floatdrop/create-error-class/issues"
			},
			"homepage": "https://github.com/floatdrop/create-error-class",
			"_id": "create-error-class@1.0.0",
			"_shasum": "339a476daaa7c0aaf1630af793e55384126c6552",
			"_from": ".",
			"_npmVersion": "2.12.1",
			"_nodeVersion": "2.3.4",
			"_npmUser": {
				"name": "floatdrop",
				"email": "floatdrop@gmail.com"
			},
			"dist": {
				"shasum": "339a476daaa7c0aaf1630af793e55384126c6552",
				"tarball": "https://registry.npmjs.org/create-error-class/-/create-error-class-1.0.0.tgz"
			},
			"maintainers": [
				{
					"name": "floatdrop",
					"email": "floatdrop@gmail.com"
				}
			],
			"directories": {},
			"contributors": []
		},
		"2.0.0": {
			"name": "create-error-class",
			"version": "2.0.0",
			"description": "Create Error classes",
			"license": "MIT",
			"repository": {
				"type": "git",
				"url": "https://github.com/floatdrop/create-error-class"
			},
			"author": {
				"name": "Vsevolod Strukchinsky",
				"email": "floatdrop@gmail.com",
				"url": "github.com/floatdrop"
			},
			"engines": {
				"node": ">=0.10.0"
			},
			"scripts": {
				"test": "mocha"
			},
			"files": [
				"index.js"
			],
			"keywords": [],
			"dependencies": {
				"capture-stack-trace": "^1.0.0",
				"inherits": "^2.0.1"
			},
			"devDependencies": {
				"mocha": "*"
			},
			"gitHead": "3766994bd273fb404a4ec1c4e728a2faf607cc25",
			"bugs": {
				"url": "https://github.com/floatdrop/create-error-class/issues"
			},
			"homepage": "https://github.com/floatdrop/create-error-class",
			"_id": "create-error-class@2.0.0",
			"_shasum": "3bdf7477c2fce61aaee3500d2faebf45c95370a6",
			"_from": ".",
			"_npmVersion": "1.4.28",
			"_npmUser": {
				"name": "floatdrop",
				"email": "floatdrop@gmail.com"
			},
			"maintainers": [
				{
					"name": "floatdrop",
					"email": "floatdrop@gmail.com"
				}
			],
			"dist": {
				"shasum": "3bdf7477c2fce61aaee3500d2faebf45c95370a6",
				"tarball": "https://registry.npmjs.org/create-error-class/-/create-error-class-2.0.0.tgz"
			},
			"directories": {},
			"contributors": []
		},
		"2.0.1": {
			"name": "create-error-class",
			"version": "2.0.1",
			"description": "Create Error classes",
			"license": "MIT",
			"repository": {
				"type": "git",
				"url": "https://github.com/floatdrop/create-error-class"
			},
			"author": {
				"name": "Vsevolod Strukchinsky",
				"email": "floatdrop@gmail.com",
				"url": "github.com/floatdrop"
			},
			"engines": {
				"node": ">=0.10.0"
			},
			"scripts": {
				"test": "mocha"
			},
			"files": [
				"index.js"
			],
			"keywords": [],
			"dependencies": {
				"capture-stack-trace": "^1.0.0",
				"inherits": "^2.0.1"
			},
			"devDependencies": {
				"mocha": "*"
			},
			"gitHead": "bec0186ac350c5b89b1707d395c23a5a080b4f45",
			"bugs": {
				"url": "https://github.com/floatdrop/create-error-class/issues"
			},
			"homepage": "https://github.com/floatdrop/create-error-class",
			"_id": "create-error-class@2.0.1",
			"_shasum": "a8759ed5c8d214a461e81d18e70aacb33dd63c9c",
			"_from": ".",
			"_npmVersion": "1.4.28",
			"_npmUser": {
				"name": "floatdrop",
				"email": "floatdrop@gmail.com"
			},
			"maintainers": [
				{
					"name": "floatdrop",
					"email": "floatdrop@gmail.com"
				}
			],
			"dist": {
				"shasum": "a8759ed5c8d214a461e81d18e70aacb33dd63c9c",
				"tarball": "https://registry.npmjs.org/create-error-class/-/create-error-class-2.0.1.tgz"
			},
			"directories": {},
			"contributors": []
		},
		"3.0.0": {
			"name": "create-error-class",
			"version": "3.0.0",
			"description": "Create Error classes",
			"license": "MIT",
			"repository": {
				"type": "git",
				"url": "https://github.com/floatdrop/create-error-class"
			},
			"author": {
				"name": "Vsevolod Strukchinsky",
				"email": "floatdrop@gmail.com",
				"url": "github.com/floatdrop"
			},
			"engines": {
				"node": ">=0.10.0"
			},
			"scripts": {
				"test": "mocha"
			},
			"files": [
				"index.js"
			],
			"keywords": [],
			"dependencies": {
				"capture-stack-trace": "^1.0.0"
			},
			"devDependencies": {
				"mocha": "*"
			},
			"gitHead": "be768a927db4955dccb841e6ce1fd4abdb8ba7e0",
			"bugs": {
				"url": "https://github.com/floatdrop/create-error-class/issues"
			},
			"homepage": "https://github.com/floatdrop/create-error-class",
			"_id": "create-error-class@3.0.0",
			"_shasum": "5f38cf460e836298f38841f28d6415d68b1ebeb3",
			"_from": ".",
			"_npmVersion": "2.14.7",
			"_nodeVersion": "4.2.0",
			"_npmUser": {
				"name": "floatdrop",
				"email": "floatdrop@gmail.com"
			},
			"dist": {
				"shasum": "5f38cf460e836298f38841f28d6415d68b1ebeb3",
				"tarball": "https://registry.npmjs.org/create-error-class/-/create-error-class-3.0.0.tgz"
			},
			"maintainers": [
				{
					"name": "floatdrop",
					"email": "floatdrop@gmail.com"
				}
			],
			"directories": {},
			"contributors": []
		},
		"3.0.1": {
			"name": "create-error-class",
			"version": "3.0.1",
			"description": "Create Error classes",
			"license": "MIT",
			"repository": {
				"type": "git",
				"url": "https://github.com/floatdrop/create-error-class"
			},
			"author": {
				"name": "Vsevolod Strukchinsky",
				"email": "floatdrop@gmail.com",
				"url": "github.com/floatdrop"
			},
			"engines": {
				"node": ">=0.10.0"
			},
			"scripts": {
				"test": "mocha"
			},
			"files": [
				"index.js"
			],
			"keywords": [],
			"dependencies": {
				"capture-stack-trace": "^1.0.0"
			},
			"devDependencies": {
				"mocha": "*"
			},
			"gitHead": "ada0da60245d8208b8070771f61632318b826880",
			"bugs": {
				"url": "https://github.com/floatdrop/create-error-class/issues"
			},
			"homepage": "https://github.com/floatdrop/create-error-class",
			"_id": "create-error-class@3.0.1",
			"_shasum": "052c6dc235679232e0767063fb9b24d9f018e2ed",
			"_from": ".",
			"_npmVersion": "2.14.12",
			"_nodeVersion": "4.2.4",
			"_npmUser": {
				"name": "floatdrop",
				"email": "floatdrop@gmail.com"
			},
			"dist": {
				"shasum": "052c6dc235679232e0767063fb9b24d9f018e2ed",
				"tarball": "https://registry.npmjs.org/create-error-class/-/create-error-class-3.0.1.tgz"
			},
			"maintainers": [
				{
					"name": "floatdrop",
					"email": "floatdrop@gmail.com"
				}
			],
			"_npmOperationalInternal": {
				"host": "packages-9-west.internal.npmjs.com",
				"tmp": "tmp/create-error-class-3.0.1.tgz_1456390872500_0.054214196279644966"
			},
			"directories": {},
			"contributors": []
		},
		"3.0.2": {
			"name": "create-error-class",
			"version": "3.0.2",
			"description": "Create Error classes",
			"license": "MIT",
			"repository": {
				"type": "git",
				"url": "https://github.com/floatdrop/create-error-class"
			},
			"author": {
				"name": "Vsevolod Strukchinsky",
				"email": "floatdrop@gmail.com",
				"url": "github.com/floatdrop"
			},
			"engines": {
				"node": ">=0.10.0"
			},
			"scripts": {
				"test": "mocha"
			},
			"files": [
				"index.js"
			],
			"keywords": [],
			"dependencies": {
				"capture-stack-trace": "^1.0.0"
			},
			"devDependencies": {
				"mocha": "*"
			},
			"gitHead": "af3f3979494c4eca0b0259d12035e7fb84fa302f",
			"bugs": {
				"url": "https://github.com/floatdrop/create-error-class/issues"
			},
			"homepage": "https://github.com/floatdrop/create-error-class",
			"_id": "create-error-class@3.0.2",
			"_shasum": "06be7abef947a3f14a30fd610671d401bca8b7b6",
			"_from": ".",
			"_npmVersion": "2.14.20",
			"_nodeVersion": "4.4.1",
			"_npmUser": {
				"name": "floatdrop",
				"email": "floatdrop@gmail.com"
			},
			"dist": {
				"shasum": "06be7abef947a3f14a30fd610671d401bca8b7b6",
				"tarball": "https://registry.npmjs.org/create-error-class/-/create-error-class-3.0.2.tgz"
			},
			"maintainers": [
				{
					"name": "floatdrop",
					"email": "floatdrop@gmail.com"
				}
			],
			"_npmOperationalInternal": {
				"host": "packages-12-west.internal.npmjs.com",
				"tmp": "tmp/create-error-class-3.0.2.tgz_1459840488945_0.7410781022626907"
			},
			"directories": {},
			"contributors": []
		}
	},
	"time": {
		"modified": "2018-01-11T02:19:02.615Z",
		"created": "2015-07-19T15:37:16.978Z",
		"1.0.0": "2015-07-19T15:37:16.978Z",
		"2.0.0": "2015-07-24T09:20:04.481Z",
		"2.0.1": "2015-07-27T08:19:21.871Z",
		"3.0.0": "2015-12-06T08:08:04.609Z",
		"3.0.1": "2016-02-25T09:01:15.392Z",
		"3.0.2": "2016-04-05T07:14:51.418Z"
	},
	"users": {},
	"dist-tags": {
		"latest": "3.0.2"
	},
	"_uplinks": {
		"npmjs": {
			"etag": "W/\"1e166c59186f84ee3a59d596c8302595\"",
			"fetched": 1593324462411
		}
	},
	"_distfiles": {
		"create-error-class-1.0.0.tgz": {
			"url": "https://registry.npmjs.org/create-error-class/-/create-error-class-1.0.0.tgz",
			"sha": "339a476daaa7c0aaf1630af793e55384126c6552",
			"registry": "npmjs"
		},
		"create-error-class-2.0.0.tgz": {
			"url": "https://registry.npmjs.org/create-error-class/-/create-error-class-2.0.0.tgz",
			"sha": "3bdf7477c2fce61aaee3500d2faebf45c95370a6",
			"registry": "npmjs"
		},
		"create-error-class-2.0.1.tgz": {
			"url": "https://registry.npmjs.org/create-error-class/-/create-error-class-2.0.1.tgz",
			"sha": "a8759ed5c8d214a461e81d18e70aacb33dd63c9c",
			"registry": "npmjs"
		},
		"create-error-class-3.0.0.tgz": {
			"url": "https://registry.npmjs.org/create-error-class/-/create-error-class-3.0.0.tgz",
			"sha": "5f38cf460e836298f38841f28d6415d68b1ebeb3",
			"registry": "npmjs"
		},
		"create-error-class-3.0.1.tgz": {
			"url": "https://registry.npmjs.org/create-error-class/-/create-error-class-3.0.1.tgz",
			"sha": "052c6dc235679232e0767063fb9b24d9f018e2ed",
			"registry": "npmjs"
		},
		"create-error-class-3.0.2.tgz": {
			"url": "https://registry.npmjs.org/create-error-class/-/create-error-class-3.0.2.tgz",
			"sha": "06be7abef947a3f14a30fd610671d401bca8b7b6",
			"registry": "npmjs"
		}
	},
	"_attachments": {
		"create-error-class-3.0.2.tgz": {
			"shasum": "06be7abef947a3f14a30fd610671d401bca8b7b6"
		}
	},
	"_rev": "2-cc5be8a7f70a76d3",
	"_id": "create-error-class",
	"readme": "# create-error-class [![Build Status](https://travis-ci.org/floatdrop/create-error-class.svg?branch=master)](https://travis-ci.org/floatdrop/create-error-class)\n\n> Create error class\n\n\n## Install\n\n```\n$ npm install --save create-error-class\n```\n\n\n## Usage\n\n```js\nvar createErrorClass = require('create-error-class');\n\nvar HTTPError = createErrorClass('HTTPError', function (props) {\n\tthis.message = 'Status code is ' + props.statusCode;\n});\n\nthrow new HTTPError({statusCode: 404});\n```\n\n\n## API\n\n### createErrorClass(className, [setup])\n\nReturn constructor of Errors with `className`.\n\n#### className\n\n*Required*  \nType: `string`\n\nClass name of Error Object. Should contain characters from `[0-9a-zA-Z_$]` range.\n\n#### setup\nType: `function`\n\nSetup function, that will be called after each Error object is created from constructor with context of Error object.\n\nBy default `setup` function sets `this.message` as first argument:\n\n```js\nvar MyError = createErrorClass('MyError');\n\nnew MyError('Something gone wrong!').message; // => 'Something gone wrong!'\n```\n\n## License\n\nMIT © [Vsevolod Strukchinsky](http://github.com/floatdrop)"
}