c-ipfs/util/errs.c

34 lines
1,002 B
C
Raw Normal View History

#include <stdio.h>
char *Err[] = {
NULL,
"ErrAllocFailed",
"ErrNULLPointer",
"ErrUnknow",
"ErrPipe",
"ErrPoll",
"Could not publish name."
"Could not resolve name.",
"Could not resolve name (recursion limit exceeded).",
"expired record",
"unrecognized validity type",
"not a valid proquint string",
"not a valid domain name",
"not a valid dnslink entry",
// ErrBadPath is returned when a given path is incorrectly formatted
"invalid 'ipfs ref' path",
// Paths after a protocol must contain at least one component
"path must contain at least one component",
"TODO: ErrCidDecode",
NULL,
"no link named %s under %s",
"ErrInvalidParam",
// ErrResolveLimit is returned when a recursive resolution goes over
// the limit.
"resolve depth exceeded",
NULL,
"Invalid value. Not signed by PrivateKey corresponding to %s",
2016-12-30 04:18:03 +00:00
"no usable records in given set",
"failed to decode empty key constant"
};