lib/builder/constructor-builder.js
function requireTypeByName(typeName) {
    var type = typeByName[typeName];
    if (!type) {
        var msg = 'Unable to retrieve a Type by Name [' + typeName + ']';
        registryLogger.error(msg);
        throw new Error(msg);
    }
    if (registryLogger.isDebugEnabled()) {
        registryLogger.debug('Require Type \'%s\' by name [%s]', type.id, typeName);
    }
    return type;
}
function requireTypeByName(typeName) {
    var type = typeByName[typeName];
    if (!type) {
        var msg = 'Unable to retrieve a Type by Name [' + typeName + ']';
        registryLogger.error(msg);
        throw new Error(msg);
    }
    if (registryLogger.isDebugEnabled()) {
        registryLogger.debug('Require Type \'%s\' by name [%s]', type.id, typeName);
    }
    return type;
}
function requireTypeByName ( typeName ) { var type = typeByName [ typeName ] ; if ( ! type ) { var msg = 'Unable to retrieve a Type by Name [' + typeName + ']' ; registryLogger . error ( msg ) ; throw new Error ( msg ) ; } if ( registryLogger . isDebugEnabled ( ) ) { registryLogger . debug ( 'Require Type \'%s\' by name [%s]' , type . id , typeName ) ; } return type ; }
Retrieve a Type constructor by name
Retrieve a Type constructor by name