"use strict";
var util = require('util');

/**
 * Error Exception Lookup
 * @enum {string}
 * @memberOf ChangeTipException
 */
var ChangeTipExceptions = {
    /** API Key was not set. This must be set during construction or by running init */
    300: "No API_KEY set. Call init prior to any remote API calls",
    /** Channel was not defined for remote call */
    301: "Channel is undefined, must be set prior to any remote API calls",
    /** Text Amount or Message was not defined. */
    500: "Text Amount or Message were not provided",
    /** API version not supported. */
    400: "API version not supported",
    /** User ID required. **/
    401: "User ID require"
};

/**
 * Change Tip Exception
 * @param {number} code Error code for this exception
 * @constructor
 */
var ChangeTipException = function(code) {
    this.name = "ChangeTipException";
    this.code = code;
    ChangeTipException.super_.call(this, ChangeTipExceptions[code]);
};

util.inherits(ChangeTipException, Error);

/** ChangeTipException Class */
module.exports = ChangeTipException;

@@ -435,112 +435,8 @@
 s%22,%0A
-    /** Text Amount or Message was not defined. */%0A    500: %22Text Amount or Message were not provided%22,%0A
     
@@ -563,16 +563,120 @@
 require%22
+,%0A    /** Text Amount or Message was not defined. */%0A    500: %22Text Amount or Message were not provided%22
 %0A%7D;%0A%0A/**

Reorganize error exception map.