⊕
·6 min read
Either vs Error-Codes: Lifting Errors into the Type-System
Consider using an Either type to handle errors — they lift errors into the type-system and have the same performance characteristics as error-codes.
Tag
2 posts tagged with this.
Consider using an Either type to handle errors — they lift errors into the type-system and have the same performance characteristics as error-codes.
A header-only C++ Either type for error handling — lift errors into the type-system with the same performance as error-codes and without the pitfalls of exceptions.
All tags