Result
A Result class that enables the type of error case to be defined. In kotlin, exceptions are meant to be returned as opposed to being thrown. The Result class helps to simplify that approach.
(https://elizarov.medium.com/kotlin-and-exceptions-8062f589d07)