Package-level declarations
Types
Link copied to clipboard
Root of the typed error hierarchy carried in Result.Failure. Split by source so callers can react differently to a network failure vs a local one. Apps extend this with their own arms (e.g. a Validation error) by implementing the interface.
Link copied to clipboard
Link copied to clipboard
A typed success-or-failure. Unlike kotlin.Result, the error arm is a typed E (usually a DataError) rather than a Throwable, so callers exhaustively handle known failure modes instead of catching. Import this Result explicitly where kotlin.Result is also in scope.