www/indexeddbshim.min.js
function createError(name, message) {
        var e = new Error(message);
        e.name = name || 'DOMException';
        e.message = message;
        return e;
    }
function createError(name, message) {
        var e = new Error(message);
        e.name = name || 'DOMException';
        e.message = message;
        return e;
    }
function createError ( name , message ) { var e = new Error ( message ) ; e . name = name || 'DOMException' ; e . message = message ; return e ; }
Creates a generic Error object
@returns {Error}
Creates a generic Error object