The default exception to return or throw upon demand of a rejected promised. This class is mostly used by the system to facilitate faulting process, but a user's promise callback usually throws more specific exceptions.
Parent Class
Type | Name | Signature |
---|---|---|
constructor | PromiseRejectedException | public PromiseRejectedException(string) |
public PromiseRejectedException(string msg)
Create a standard PromiseRejectedException instance. The users, however, usually just fault the promise by throwing a more specific exception.
Parameters