/*
 * Copyright 1995, 2000 Perforce Software.  All rights reserved.
 *
 * This file is part of Perforce - the FAST SCM System.
 */

/*
 * msgclient.h - definitions of errors for client subsystem.
 */

struct ErrorId;    // forward declaration to keep VS 2010 IntelliSense happy

class MsgClient {

    public:

	static ErrorId Connect;
	static ErrorId BadFlag;
	static ErrorId Fatal;
	static ErrorId ClobberFile;
	static ErrorId FileOpenError;
	static ErrorId MkDir;
	static ErrorId Eof;
	static ErrorId CantEdit;
	static ErrorId NoMerger;
	static ErrorId CheckFileBadPath;

	static ErrorId ToolServer2;
	static ErrorId ToolServer;
	static ErrorId ToolCmdCreate;
	static ErrorId ToolCmdSend;
	static ErrorId Memory;
	static ErrorId CantFindApp;
	static ErrorId BadSignature;
	static ErrorId BadMarshalInput;
	static ErrorId LineTooLong;

	static ErrorId ResolveManually;
	static ErrorId NonTextFileMerge;

	static ErrorId MergeMsg2;
	static ErrorId MergeMsg3;
	static ErrorId MergeMsg32;
	static ErrorId MergePrompt;
	static ErrorId MergePrompt2;
	static ErrorId MergePrompt2Edit;

	static ErrorId ConfirmMarkers;
	static ErrorId ConfirmEdit;
	static ErrorId Confirm;

	static ErrorId CheckFileAssume;
	static ErrorId CheckFileAssumeWild;
	static ErrorId CheckFileSubst;
	static ErrorId CheckFileCant;

	static ErrorId FileExists;
	static ErrorId NoSuchFile;

	static ErrorId LoginPrintTicket;
	static ErrorId DigestMisMatch;
	static ErrorId NotUnderPath;
	static ErrorId PathProtected;

	static ErrorId UnknownCharset;
	static ErrorId FileKept;
	static ErrorId DataOutOfBounds;

	static ErrorId ChdirFail;
	static ErrorId LockCheckFail;
	
	static ErrorId InitRootExists;
	static ErrorId NoDvcsServer;

	static ErrorId InitServerFail;
	static ErrorId CloneCantFetch;
	static ErrorId NotValidStreamName;
	static ErrorId CloneStart;
	static ErrorId CloneNeedLogin1;
	static ErrorId CloneNeedLogin2;
	static ErrorId CloneTooWide;
	static ErrorId CloneRemoteInvalid;
	static ErrorId CloneTooManyDepots;
	static ErrorId CloneNoRemote;
	static ErrorId ClonePathNoMap;
	static ErrorId ClonePathTooWide;
	static ErrorId ClonePathHasWild;
	static ErrorId ClonePathHasIllegal;
	static ErrorId RemoteAlreadySet;
	static ErrorId NoRemoteToSet;
	static ErrorId InitCaseFlagUnset;
	static ErrorId InitUnicodeUnset;
	static ErrorId CloneFetchCounts;
	static ErrorId LocalRemoteMismatch;
	static ErrorId RemoteLocalMismatch;

	static ErrorId AliasTooManyEquals;
	static ErrorId AliasMissingEquals;
	static ErrorId AliasTooComplex;
	static ErrorId AliasMissingCommand;
	static ErrorId AliasArgSyntax;
	static ErrorId AliasIOSyntax;
	static ErrorId AliasInputMultiple;
	static ErrorId AliasOutputMultiple;
	static ErrorId AliasRedirection;
	static ErrorId NoAliasesFound;
	static ErrorId AliasNoTransform;
	static ErrorId AliasEmptyTransform;
	static ErrorId AliasPartial;
	static ErrorId AliasSubstArgs;
	static ErrorId AliasSubstInput;
	static ErrorId AliasSubstOutput;
	static ErrorId AliasSyntaxError;
	static ErrorId CommandNotAliased;
	static ErrorId AliasEmptyPattern;

	static ErrorId NoModifiedFile;
	static ErrorId DevErr;

	static ErrorId InvalidUrl;
	static ErrorId GotoUrl;
	static ErrorId PrivatekeyNotSecure;

	static ErrorId DirectoryNotEmpty;
	static ErrorId CantRevertDirectoryNotEmpty;

	static ErrorId BadFiletype;
	static ErrorId BadLineEndingFlag;
	static ErrorId BadUncompressFlag;
	
	static ErrorId AltSyncBadJSON;
	static ErrorId AltSyncNoResult;
	static ErrorId AltSyncBadResult;
	static ErrorId AltSyncErr;
	static ErrorId AltSyncUnhandledPass;
	static ErrorId AltSyncNotSupported;
	static ErrorId AltSyncFailStart;


	// Retired ErrorIds. We need to keep these so that clients 
	// built with newer apis can commnunicate with older servers 
	// still sending these.

	static ErrorId ZCResolve; // DEPRECATED 2013.1 removed ZeroConf
} ;
