mirror of
https://github.com/donl/slouch.git
synced 2026-05-25 22:07:24 -06:00
* initial * feat(exclude-design-docs-iterator) * fix(request): need to define unescape * test(request): ECONNREFUSED/ENOTFOUND errors in different browsers * test(circleci): run couchdb * test(circleci): enable cors * test(coverage): disable check for now * test(circleci): missing nvm
11 lines
309 B
JavaScript
11 lines
309 B
JavaScript
'use strict';
|
|
|
|
var NotAuthenticatedError = function (message) {
|
|
this.name = 'NotAuthenticatedError';
|
|
this.message = message;
|
|
};
|
|
|
|
NotAuthenticatedError.prototype = Object.create(Error.prototype);
|
|
NotAuthenticatedError.prototype.constructor = NotAuthenticatedError;
|
|
|
|
module.exports = NotAuthenticatedError;
|