Skip to content

Commit

Permalink
CodeRabbit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Riku Virtanen committed Dec 11, 2024
1 parent 82daf65 commit be7cf5d
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -407,12 +407,14 @@ private void Trace(TransferState state, string format, params object[] args)
/// <summary>
/// Exception class for more specific Exception name.
/// </summary>
/// <remarks>
/// Exception message.
/// </remarks>
/// <param name="fileName"></param>
public class DestinationFileExistsException(string fileName) : Exception($"Unable to transfer file. Destination file already exists: {fileName}")
public class DestinationFileExistsException : Exception
{
/// <summary>
/// Exception message.
/// </summary>
/// <param name="fileName"></param>
public DestinationFileExistsException(string fileName)
: base($"Unable to transfer file. Destination file already exists: {fileName}") { }
}
}
}

0 comments on commit be7cf5d

Please sign in to comment.