Function err

  • This function is suppossed to be used in the constructor of the Result class.

    Type Parameters

    • E

      the type of the error

    Parameters

    • err: E

    Returns Err<E>

    an error for the Result class

Generated using TypeDoc