removed unused errors

This commit is contained in:
Wyatt Johnson
2017-05-17 08:16:48 -06:00
parent 9dc0693530
commit 9db77360b4
-14
View File
@@ -75,18 +75,6 @@ const ErrMissingToken = new APIError('token is required', {
status: 400
});
// ErrNoCommentFound is returned when trying to add a tag to a comment that does not exist.
const ErrNoCommentFound = new APIError('comment does not exist', {
translation_key: 'COMMENT_NOT_FOUND',
status: 400
});
// ErrNoCommentFound is returned when trying to add a tag to a comment that does not exist.
const ErrTagNotAllowed = new APIError('tag not allowed', {
translation_key: 'TAG_NOT_ALLOWED',
status: 400
});
// ErrAssetCommentingClosed is returned when a comment or action is attempted on
// a stream where commenting has been closed.
class ErrAssetCommentingClosed extends APIError {
@@ -179,8 +167,6 @@ module.exports = {
ErrMissingEmail,
ErrMissingPassword,
ErrMissingToken,
ErrNoCommentFound,
ErrTagNotAllowed,
ErrEmailTaken,
ErrSpecialChars,
ErrMissingUsername,