Enumeration: ResolveError
Defined in: packages/promise/dist/index.d.ts:140
Determines what to do when deferred promise/function fails
Enumeration Members
NEVER
NEVER:
"NEVER"
Defined in: packages/promise/dist/index.d.ts:142
Neither resolve nor reject the failed
REJECT
REJECT:
"REJECT"
Defined in: packages/promise/dist/index.d.ts:144
(default) Reject the failed as usual
WITH_ERROR
WITH_ERROR:
"RESOLVE_ERROR"
Defined in: packages/promise/dist/index.d.ts:146
Resolve (not reject) with the error/reason
WITH_UNDEFINED
WITH_UNDEFINED:
"RESOLVE_UNDEFINED"
Defined in: packages/promise/dist/index.d.ts:148
Resolve with undefined