A simple way to create custom errors in JavaScript that inherit Error or descendants of Error