Beispiel #1
0
func init() {
	api.RegisterErrno([]api.ErrnoMsg{
		{FileModified, "file modified"},
		{NoSuchEntry, "no such file or directory"},
		{EntryExists, "file exists"},
	})
}
Beispiel #2
0
func init() {
	api.RegisterErrno([]api.ErrnoMsg{
		{OutOfSpace, "out of space"},
		{FileModified, "file modified"},
		{Conflicted, "conflicted"},
		{NotAFile, "not a file"},
		{NotADirectory, "not a directory"},
		{NoSuchEntry, "no such file or directory"},
		{NotADeletedEntry, "not a deleted entry"},
		{EntryExists, "file exists"},
		{CircularAction, "circular action"},
		{NoSuchDirectory, "no such directory"},
		{Locked, "locked"},
		{DirectoryNotEmpty, "directory not empty"},
		{BadData, "bad data"},
		{ConditionNotMeet, "contition not meet"},
	})
}