Skip to content

CorruptSetException

Namespace Nfty.Core.Output in assembly Nfty.Core.

public class CorruptSetException : InvalidOperationException

An existing Set on disk is not in a shape extend can read — for example a rich nfty/NNNN.json whose standards-pure metadata/NNNN.json sibling is missing. Names the offending file, so the user is not left guessing at a raw IO error.

Constructors

CorruptSetException(string, string)

public CorruptSetException(string path, string message);

Creates the exception.

Parameters

  • path (string) - The file that could not be read.
  • message (string) - The message shown to the user verbatim.

Properties

Path

public string Path { get; }

The file whose absence or contents made the Set unreadable.