dojo/errors/CancelError

authors:Mark Wubben
since:V1.8

dojo/errors/CancelError is the default error if a promise is canceled without a reason.

Introduction

This is the default error that will be used as the rejection value if a promise is canceled without a reason.

See also

  • dojo/promise - The rest of the Dojo Promise API.
  • dojo/Deferred - The base class for managing asynchronous thread communication in Dojo.
Error in the documentation? Can’t find what you are looking for? Let us know!