index.js
function Block(errors, namespace, base, lazy) {
    if ((base === undefined) || (base === true) || (base === null)) {
        base = "Base";
    } else if (base === false) {
        base = Error;
    } else if (typeof base !== "function") {
        base = "" + base;
    }
    this.p = {
        errors: errors,
        namespace: namespace,
        prefix: namespace ? (namespace + ".") : "",
        base: base,
        lazy: !!lazy
    };
    this.created = false;
    if (!this.p.lazy) {
        this.createAll();
    }
}
function Block(errors, namespace, base, lazy) {
    if ((base === undefined) || (base === true) || (base === null)) {
        base = "Base";
    } else if (base === false) {
        base = Error;
    } else if (typeof base !== "function") {
        base = "" + base;
    }
    this.p = {
        errors: errors,
        namespace: namespace,
        prefix: namespace ? (namespace + ".") : "",
        base: base,
        lazy: !!lazy
    };
    this.created = false;
    if (!this.p.lazy) {
        this.createAll();
    }
}
function Block ( errors , namespace , base , lazy ) { if ( ( base === undefined ) || ( base === true ) || ( base === null ) ) { base = "Base" ; } else if ( base === false ) { base = Error ; } else if ( typeof base !== "function" ) { base = "" + base ; } this . p = { errors : errors , namespace : namespace , prefix : namespace ? ( namespace + "." ) : "" , base : base , lazy : ! ! lazy } ; this . created = false ; if ( ! this . p . lazy ) { this . createAll ( ) ; } }
Class of errors block

@class Block
@exports
@param {Object} errors
a dictionary "error name" => "parameters" (mixed)
@param {String} [namespace]
a basic namespace for the block
@param {*} [base]
a basic error class for the block
@param {Boolean} [lazy]
use lazy load
Class of errors block