Function throwError

  • This is a handy utility function that just throws an error that exists in an Either. Useful for Either.apply

    Parameters

    • e: Error

    Returns never