type-safe-errors basic example The program presents simple function with two domain errors handled as results. Run instructions: npm i npm start