Untitled
unknown
javascript
2 years ago
275 B
1
Indexable
Never
function test() { try { someFceThatCanThrowError() } catch (err) { if (err.message === 'I want to catch this one') { // do somethink throw different error or let fce pass } throw err } return 'ok' }