Enum ChdError

Namespace
CHDSharp.Models
Assembly
CHDSharpLib.dll

Error codes returned by CHD operations.

public enum ChdError
Extension Methods

Fields

Chderrcannotopenfile = 28

Unable to open the specified file.

Chderrcantcreatefile = 16

Unable to create the output file.

Chderrcantverify = 17

Unable to verify the CHD (hash mismatch or missing data).

Chderrcodecerror = 11

An error occurred in the compression/decompression codec.

Chderrcompressionerror = 15

Compression of a hunk failed.

Chderrdecompressionerror = 14

Decompression of a hunk failed.

Chderrfilenotfound = 6

The specified file was not found.

Chderrfilenotwriteable = 8

The file is not writable.

Chderrhunkoutofrange = 13

The requested hunk index is out of range.

Chderrinvaliddata = 5

Invalid or corrupt data was encountered.

Chderrinvalidfile = 3

The file does not appear to be a valid CHD.

Chderrinvalidmetadata = 23

The metadata is invalid or corrupt.

Chderrinvalidmetadatasize = 20

The metadata size is invalid.

Chderrinvalidparameter = 4

An invalid parameter was supplied.

Chderrinvalidparent = 12

The parent CHD is invalid or incompatible.

Chderrinvalidstate = 24

The CHD is in an invalid state for the requested operation.

Chderrmetadatanotfound = 19

The requested metadata entry was not found.

Chderrnoasyncoperation = 26

No asynchronous operation is in progress.

Chderrnointerface = 1

No interface available for the requested operation.

Chderrnone = 0

No error - operation completed successfully.

Chderrnotsupported = 18

The requested feature is not supported.

Chderroperationpending = 25

An operation is already pending.

Chderroutofmemory = 2

Out of memory.

Chderrreaderror = 9

A read error occurred.

Chderrrequiresparent = 7

The CHD is a child (differential) and requires a parent.

Chderrunsupportedformat = 27

The CHD format is not supported.

Chderrunsupportedversion = 21

The CHD version is not supported by this library.

Chderrverifyincomplete = 22

The verification was incomplete.

Chderrwriteerror = 10

A write error occurred.