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

ObjectManagerExceptionHelper

Defines a static helper method to inspect common Object Manager exceptions.
public const int MaxInnerExceptionDepth = 16

Defines the max depth to search for exceptions.

public static bool IsInvalidParametersError(Exception exception)

Inspects the Object Manager exception to determine if the error is due to invalid request parameters such as non-existent artifacts.

public static bool IsNonFatalError(Exception exception)

Inspects the Object Manager exception to determine if the error is non-fatal including invalid request artifacts and server-side directory/path/permission issues.

public static bool IsServerSideDirectoryNotFoundError(Exception exception)

Inspects the Object Manager exception to determine if the error is due to the server-side directory not found.

public static bool IsServerSideFileNotFoundError(Exception exception)

Inspects the Object Manager exception to determine if the error is due to the server-side file not found.

public static bool IsServerSideFilePermissionsError(Exception exception)

Inspects the Object Manager exception to determine if the error is due to server-side file permissions.