From a1fa94707b03de4776b48e24414dbda858733e9a Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Tue, 8 Sep 2015 11:28:29 -0700 Subject: [PATCH] Remove ununsed error codes --- src/subdomainerror.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/subdomainerror.js b/src/subdomainerror.js index c232e7ac0..85d011b73 100644 --- a/src/subdomainerror.js +++ b/src/subdomainerror.js @@ -28,13 +28,6 @@ function SubdomainError(reason, errorOrMessage) { util.inherits(SubdomainError, Error); SubdomainError.NOT_FOUND = 'No such domain'; -SubdomainError.INTERNAL_ERROR = 'Internal error'; SubdomainError.EXTERNAL_ERROR = 'External error'; SubdomainError.STILL_BUSY = 'Still busy'; -SubdomainError.FAILED_TOO_OFTEN = 'Failed too often'; -SubdomainError.ALREADY_EXISTS = 'Domain already exists'; -SubdomainError.BAD_FIELD = 'Bad Field'; -SubdomainError.BAD_STATE = 'Bad State'; -SubdomainError.INVALID_ZONE_NAME = 'Invalid domain name'; -SubdomainError.INVALID_TASK = 'Invalid task'; SubdomainError.MISSING_CREDENTIALS = 'Missing credentials';