14 lines
299 B
JavaScript
14 lines
299 B
JavaScript
|
define("dojo/errors/CancelError", ["./create"], function(create){
|
||
|
// module:
|
||
|
// dojo/errors/CancelError
|
||
|
|
||
|
/*=====
|
||
|
return function(){
|
||
|
// summary:
|
||
|
// Default error if a promise is canceled without a reason.
|
||
|
};
|
||
|
=====*/
|
||
|
|
||
|
return create("CancelError", null, null, { dojoType: "cancel" });
|
||
|
});
|