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