Package-level declarations

Types

Link copied to clipboard

Default implementation of RaiseScope.

Link copied to clipboard
typealias Raises<Ok, Error> = RaiseScope<Error>.() -> Ok

Shorthand for a lambda that produces Ok or short-circuits with an Error inside a RaiseScope.

Link copied to clipboard
interface RaiseScope<in Error>

A scope for raising typed errors without exceptions leaking to callers.