Clash Blueprint Engine API
    Preparing search index...

    Type Alias Result<T, E>

    Result: Ok<T> | Err<E>

    A total, exception-free result type used across the domain layer.

    The engine never throws for expected failures (validation, placement conflicts, rule violations). Those are modelled as Err so callers are forced by the type system to handle them. Exceptions are reserved for programmer errors (see ./invariant.ts).

    Type Parameters

    • T
    • E