tokyocabinet-haskell-0.0.5: Haskell binding of Tokyo CabinetSource codeContentsIndex
Database.TokyoCabinet.Error
Contents
Error code
Utility function
Other constants
Synopsis
data ECODE
= ESUCCESS
| ETHREAD
| EINVALID
| ENOFILE
| ENOPERM
| EMETA
| ERHEAD
| EOPEN
| ECLOSE
| ETRUNC
| ESYNC
| ESTAT
| ESEEK
| EREAD
| EWRITE
| EMMAP
| ELOCK
| EUNLINK
| ERENAME
| EMKDIR
| ERMDIR
| EKEEP
| ENOREC
| EMISC
errmsg :: ECODE -> String
cintToError :: CInt -> ECODE
errorToCInt :: ECODE -> CInt
cINT_MIN :: CInt
Error code
data ECODE Source
Represents error
Constructors
ESUCCESSsuccess
ETHREADthreading error
EINVALIDinvalid operation
ENOFILEfile not found
ENOPERMno permission
EMETAinvalid meta data
ERHEADinvalid record header
EOPENopen error
ECLOSEclose error
ETRUNCtrunc error
ESYNCsync error
ESTATstat error
ESEEKseek error
EREADread error
EWRITEwrite error
EMMAPmmap error
ELOCKlock error
EUNLINKunlink error
ERENAMErename error
EMKDIRmkdir error
ERMDIRrmdir error
EKEEPexisting record
ENORECno record found
EMISCmiscellaneous error
Utility function
errmsg :: ECODE -> StringSource
Convert error code to message string.
cintToError :: CInt -> ECODESource
errorToCInt :: ECODE -> CIntSource
Other constants
cINT_MIN :: CIntSource
Produced by Haddock version 2.6.0