fromBomh1 month agoNode JSJS Dark Arts: Abusing prototypes and the Result typeExtending all functions with a 'try' method can help handle errors by converting returned values to a Result type.