@property {Boolean} notify
Static flag that can be used to globally control error notification to the user. Unlike
Ex.Error.ignore, this does not effect exceptions. They are still thrown. This value can be
set to false to disable the alert notification (default is true for IE6 and IE7).

Only the first error will generate an alert. Internally this flag is set to false when the
first error occurs prior to displaying the alert.

This flag is not used in a release build.

Example usage:

Ext.Error.notify = false;

@static
 notify: Ext.isIE6 || Ext.isIE7, 
Raise an error that can include additional data and supports automatic console logging if available.
You can pass a string error message or an object with the `msg` attribute which will be used as the
error message. The object can contain any other name-value attributes (or objects) to be logged
along with the error.

Note that after displaying the error message a JavaScript error will ultimately be thrown so that
execution will halt.

Example usage:

Ext.Error.raise('A simple string error message');

// or...

Ext.define('Ext.Foo', {
doSomething: function(option){
if (someCondition === false) {
Ext.Error.raise({
msg: 'You cannot do that!',
option: option,   // whatever was passed into the method
'error code': 100 // other arbitrary info
});
}
}
});

@param {String/Object} err The error message string, or an object containing the attribute "msg" that will be
used as the error message. Any other data included in the object will also be logged to the browser console,
if available.
@static
function(err){
            err = err || {};
            if (Ext.isString(err)) {
                err = { msg: err };
            }

            var method = this.raise.caller,
                msg;

            if (method) {
                if (method.$name) {
                    err.sourceMethod = method.$name;
                }
                if (method.$owner) {
                    err.sourceClass = method.$owner.$className;
                }
            }

            if (Ext.Error.handle(err) !== true) {
                msg = Ext.Error.prototype.toString.call(err);

                Ext.log({
                    msg: msg,
                    level: 'error',
                    dump: err,
                    stack: true
                });

                throw new Ext.Error(err);
            }
        }