Use a custom exception class that includes sound
npm install sounds_of_krazjs
import {SoundError} from "sounds_of_kraz"
const throwOutException = () => {
throw new SoundError()
}
try {
throwOutException()
} catch (e) {
console.log(e)
}
``