You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#732 Throw TransferSizeMismatchException if remote size doesn't match local
This PR introduces a new TransferStates enum member, Aborted. This is a terminal state similar to Failed, but indicates that the library decided to abort the transfer instead of trying and failing. Right now this is only used when the remote size of the transfer doesn't match the requested size.
This PR also changes the behavior of TransferRejectedException. Previously these exceptions were "double-wrapped", with the first containing only the rejection reason and the second containing a "Transfer rejected" message. I don't know why this was done this way originally, but I've now simplified this handling to re-throw instead of wrap.
Breaking Changes
#732 Throw TransferSizeMismatchException if remote size doesn't match local
This PR introduces a new
TransferStates
enum member,Aborted
. This is a terminal state similar toFailed
, but indicates that the library decided to abort the transfer instead of trying and failing. Right now this is only used when the remote size of the transfer doesn't match the requested size.This PR also changes the behavior of
TransferRejectedException
. Previously these exceptions were "double-wrapped", with the first containing only the rejection reason and the second containing a "Transfer rejected" message. I don't know why this was done this way originally, but I've now simplified this handling to re-throw instead of wrap.#735 Separate EventArgs from delegates
This PR removes
EventArgs
subclasses from variousOption
classes and replaces them with tuples with the same shape. For example:Becomes
Impacted classes are
BrowseOptions
,SearchOptions
, andTransferOptions
.The text was updated successfully, but these errors were encountered: