(err)
| 226 | } |
| 227 | |
| 228 | function decorateErrorStack(err) { |
| 229 | if (!(isError(err) && err.stack) || err[decorated_private_symbol]) |
| 230 | return; |
| 231 | |
| 232 | const arrow = err[arrow_message_private_symbol]; |
| 233 | |
| 234 | if (arrow) { |
| 235 | err.stack = arrow + err.stack; |
| 236 | err[decorated_private_symbol] = true; |
| 237 | } |
| 238 | } |
| 239 | |
| 240 | function assertCrypto() { |
| 241 | if (noCrypto) |
no test coverage detected
searching dependent graphs…