<PackageReference Include="Relativity.Server.DocumentViewer.SDK" Version="5000.1.0" />

Relativity.DocumentViewer.Services.Interfaces.V2.DTOs.CustomErrorReturnClass

public class CustomErrorReturnClass
Custom error return class
public string CustomErrorMessage { get; set; }

Custom error message

public int ErrorCode { get; set; }

Error code.

public bool Success { get; set; }

Lets the user know if the annotation is saved or not.

Constructor

public CustomErrorReturnClass(int errorCode)

Constructor

public CustomErrorReturnClass(int errorCode, string customErrorMessage)

Constructor