2016-12-23 03:45:13 +00:00
|
|
|
#ifndef IPFS_ERRS_H
|
|
|
|
#define IPFS_ERRS_H
|
|
|
|
|
|
|
|
extern char *Err[];
|
|
|
|
|
|
|
|
enum {
|
|
|
|
ErrAllocFailed = 1,
|
|
|
|
ErrNULLPointer,
|
|
|
|
ErrUnknow,
|
|
|
|
ErrPipe,
|
|
|
|
ErrPoll,
|
|
|
|
ErrPublishFailed,
|
|
|
|
ErrResolveFailed,
|
|
|
|
ErrResolveRecursion,
|
|
|
|
ErrExpiredRecord,
|
|
|
|
ErrUnrecognizedValidity,
|
|
|
|
ErrInvalidProquint,
|
|
|
|
ErrInvalidDomain,
|
|
|
|
ErrInvalidDNSLink,
|
|
|
|
ErrBadPath,
|
|
|
|
ErrNoComponents,
|
|
|
|
ErrCidDecode,
|
|
|
|
ErrNoLink,
|
|
|
|
ErrNoLinkFmt,
|
|
|
|
ErrInvalidParam,
|
|
|
|
ErrResolveLimit,
|
|
|
|
ErrInvalidSignature,
|
|
|
|
ErrInvalidSignatureFmt,
|
2016-12-30 04:18:03 +00:00
|
|
|
ErrNoRecord,
|
|
|
|
ErrCidDecodeFailed
|
2016-12-23 03:45:13 +00:00
|
|
|
} ErrsIdx;
|
|
|
|
#endif // IPFS_ERRS_H
|