rejected is an implementation of the promise interface which is always returns an error. Values of this type are constructed using the reject function.
| 906 | // returns an error. Values of this type are constructed using the reject |
| 907 | // function. |
| 908 | type rejected struct{ err error } |
| 909 | |
| 910 | func reject(err error) promise { return &rejected{err: err} } |
| 911 |
nothing calls this directly
no outgoing calls
no test coverage detected