• Check if an error is caused by user calling cancel() on a upload/download task. If an overwriting error is supplied to task.cancel(errorOverwrite), this function will return false.

    Parameters

    • error: unknown

    Returns error is CanceledError