
class Console {
    constructor() {
        Object.assign(this, console);
    }

    typeOf(variable) {
        let string = typeof variable;
        if (variable && variable.constructor) {
            string += " " + variable.constructor.name;
        }
        return string;
    }
}

module.exports = Console;
@@ -277,16 +277,186 @@
 g;%0A    %7D
+%0A%0A    buildError(message, code) %7B%0A        const error = new Error(message);%0A        if (code) %7B%0A            error.statusCode = code;%0A        %7D%0A        return error;%0A    %7D
 %0A%7D%0A%0Amodu

Add build error function to console object