traildb-0.1.0.2: TrailDB bindings for Haskell

Safe HaskellSafe
LanguageHaskell2010

System.TrailDB.Error

Synopsis

Documentation

data TrailDBException Source

Exceptions that may happen with TrailDBs.

Some programming errors may throw with error instead.

Constructors

CannotAllocateTrailDBCons

Failed to allocate TdbCons.

CannotAllocateTrailDB

Failed to allocate Tdb.

TrailDBError !CInt String

Errors reported by error code from TrailDB C library. includes numerical error and human-readable error.

NoSuchTrailID

A TrailID was used that doesn't exist in Tdb.

NoSuchUUID

A UUID was used that doesn't exist in Tdb.

NoSuchFieldID

A FieldID was used that doesn't exist in Tdb.

NoSuchValue

A Feature was used that doesn't contain a valid value.

NoSuchFeature

Attempted to find Feature for human readable name that doesn't exist.

FinalizationFailure

For some reason, finalizing a TdbCons failed.