Generate valid custom error and exception classes for Node.js.