Why JavaScript and TypeScript error handling leads to bad code and how to improve it with the Result pattern via the @brettchalupa/result package.