<PackageReference Include="Relativity.Server.Import.SDK" Version="2.9.2" />

ErrorMessageWriter<T>

public sealed class ErrorMessageWriter<T> : IDisposable where T : IErrorArguments
Class that is specialized in writing error messages to the error message file.
public bool FileCreated { get; }

Gets a value indicating whether this class created a file. There are 2 possibilities: - There is no file - There is a file, and there is something in it.

public string FilePath { get; }

Gets the location this writer is writing to.

public ErrorMessageWriter(string filePath)

Initializes a new instance of the ErrorMessageWriter<T> class.

Initializes a new instance of the ErrorMessageWriter<T> class.

public void Dispose()

public void WriteErrorMessage(T toWrite)

Writes an error message to the error file.