Full threadUserIsUnused·Why not just use sealed classes for your given use-case rather than a generic result? If you want to do generic why not go full Either?View on HN