Documentation

    Type Alias CalcResult<T>

    CalcResult:
        | { status: "success"; value: T }
        | { message?: string; status: "undefined" }

    Type Parameters

    • T

    Type declaration

    • { status: "success"; value: T }
    • { message?: string; status: "undefined" }
      • Optionalmessage?: string

        There are cases where an undefined calculation result is to be expected. (E.g. in case of manual manufacturing cost overrides the time must be undefined.) In these cases this should not be visualized as an issue.

      • status: "undefined"
    MMNEPVFCICPMFPCPTTAAATR