Documentation
    Preparing search index...

    Type Alias Result<T, E>

    Result: { ok: true; value: T } | { error: E; ok: false }

    A type representing a value that may be an error.

    Type Parameters

    • T

      The type of the value to contain.

    • E

      The type of the error to contain.