//>>built
define("dojo/errors/create",["../_base/lang"],function(g){return function(h,e,a,i){var a=a||Error,b=function(f){if(a===Error){Error.captureStackTrace&&Error.captureStackTrace(this,b);var c=Error.call(this,f),d;for(d in c)c.hasOwnProperty(d)&&(this[d]=c[d]);this.message=f;this.stack=c.stack}else a.apply(this,arguments);e&&e.apply(this,arguments)};b.prototype=g.delegate(a.prototype,i);b.prototype.name=h;return b.prototype.constructor=b}});