|
|
@ -46,7 +46,7 @@ const { join } = [] |
|
|
|
const { split } = '' |
|
|
|
const { split } = '' |
|
|
|
const stackFmt = (err, url) => { |
|
|
|
const stackFmt = (err, url) => { |
|
|
|
if (!(err instanceof Error)) { |
|
|
|
if (!(err instanceof Error)) { |
|
|
|
throw Error(`Unexpected type thrown: ${typeof err}. usage: throw Error('my message'))`) |
|
|
|
throw Error(`Unexpected type thrown: ${typeof err}. usage: throw Error('my message')`) |
|
|
|
} |
|
|
|
} |
|
|
|
String.prototype.split = split |
|
|
|
String.prototype.split = split |
|
|
|
Array.prototype.join = join |
|
|
|
Array.prototype.join = join |
|
|
|