(err)
| 181 | }; |
| 182 | |
| 183 | function wrapError(err) { |
| 184 | if (err && err.__proto__ && global[err.__proto__.name]) { |
| 185 | err.__proto__ = global[err.__proto__.name].prototype; |
| 186 | } |
| 187 | return err; |
| 188 | } |
| 189 | |
| 190 | function isPromise(obj) { |
| 191 | //maybe not the best of all checks but at least it's compliant to Promises/A+ |
no outgoing calls
no test coverage detected