CallError

public enum CallError<MethodError> : Error

An error combining API and network layer errors.

Available where MethodError: RawRepresentable, MethodError.RawValue == Int

  • Initializes an instance of a CallError with an API error.

    Declaration

    Swift

    public init(apiError: PCloudAPI.Error<MethodError>)