Normalized result of an interpreted effect.
Summary
Functions
Builds a failed result for an effect intent.
Builds an effect result from keyword or map attributes.
Builds an effect result and raises if the attributes are invalid.
Builds a successful result for an effect intent.
Returns the Zoi schema for an interpreted effect result.
Types
Functions
@spec error(Jidoka.Effect.Intent.t(), term(), keyword()) :: t()
Builds a failed result for an effect intent.
Builds an effect result from keyword or map attributes.
Builds an effect result and raises if the attributes are invalid.
@spec ok(Jidoka.Effect.Intent.t(), term(), keyword()) :: t()
Builds a successful result for an effect intent.
@spec schema() :: Zoi.schema()
Returns the Zoi schema for an interpreted effect result.