 | tokyocabinet-haskell-0.0.5: Haskell binding of Tokyo Cabinet | Contents | Index |
|
| Database.TokyoCabinet.Error |
|
|
|
|
|
| Synopsis |
|
|
|
|
| Error code
|
|
| data ECODE |
| Represents error
| | Constructors | | ESUCCESS | success
| | ETHREAD | threading error
| | EINVALID | invalid operation
| | ENOFILE | file not found
| | ENOPERM | no permission
| | EMETA | invalid meta data
| | ERHEAD | invalid record header
| | EOPEN | open error
| | ECLOSE | close error
| | ETRUNC | trunc error
| | ESYNC | sync error
| | ESTAT | stat error
| | ESEEK | seek error
| | EREAD | read error
| | EWRITE | write error
| | EMMAP | mmap error
| | ELOCK | lock error
| | EUNLINK | unlink error
| | ERENAME | rename error
| | EMKDIR | mkdir error
| | ERMDIR | rmdir error
| | EKEEP | existing record
| | ENOREC | no record found
| | EMISC | miscellaneous error
|
| Instances | |
|
|
| Utility function
|
|
| errmsg :: ECODE -> String |
| Convert error code to message string.
|
|
| cintToError :: CInt -> ECODE |
|
| errorToCInt :: ECODE -> CInt |
|
| Other constants
|
|
| cINT_MIN :: CInt |
|
| Produced by Haddock version 2.4.2 |