Back to index

lightning-sunbird  0.9+nobinonly
xperr.h
Go to the documentation of this file.
00001 /* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
00002 /* ***** BEGIN LICENSE BLOCK *****
00003  * Version: MPL 1.1/GPL 2.0/LGPL 2.1
00004  *
00005  * The contents of this file are subject to the Mozilla Public License Version
00006  * 1.1 (the "License"); you may not use this file except in compliance with
00007  * the License. You may obtain a copy of the License at
00008  * http://www.mozilla.org/MPL/
00009  *
00010  * Software distributed under the License is distributed on an "AS IS" basis,
00011  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
00012  * for the specific language governing rights and limitations under the
00013  * License.
00014  *
00015  * The Original Code is Mozilla Communicator client code, released
00016  * March 31, 1998.
00017  *
00018  * The Initial Developer of the Original Code is
00019  * Netscape Communications Corporation.
00020  * Portions created by the Initial Developer are Copyright (C) 1998
00021  * the Initial Developer. All Rights Reserved.
00022  *
00023  * Contributor(s):
00024  *   Sean Su <ssu@netscape.com>
00025  *
00026  * Alternatively, the contents of this file may be used under the terms of
00027  * either the GNU General Public License Version 2 or later (the "GPL"), or
00028  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
00029  * in which case the provisions of the GPL or the LGPL are applicable instead
00030  * of those above. If you wish to allow use of your version of this file only
00031  * under the terms of either the GPL or the LGPL, and not to allow others to
00032  * use your version of this file under the terms of the MPL, indicate your
00033  * decision by deleting the provisions above and replace them with the notice
00034  * and other provisions required by the GPL or the LGPL. If you do not delete
00035  * the provisions above, a recipient may use your version of this file under
00036  * the terms of any one of the MPL, the GPL or the LGPL.
00037  *
00038  * ***** END LICENSE BLOCK ***** */
00039 
00040 #ifndef _XPERR_H_
00041 #define _XPERR_H_
00042 
00043 char *XpErrorList[] = {"0"   ,  "OK",
00044                        "-200",  "BAD_PACKAGE_NAME",
00045                        "-201",  "UNEXPECTED_ERROR",
00046                        "-202",  "ACCESS_DENIED",
00047                        "-203",  "EXECUTION_ERROR",
00048                        "-204",  "NO_INSTALL_SCRIPT",
00049                        "-205",  "NO_CERTIFICATE",
00050                        "-206",  "NO_MATCHING_CERTIFICATE",
00051                        "-207",  "CANT_READ_ARCHIVE",
00052                        "-208",  "INVALID_ARGUMENTS",
00053                        "-209",  "ILLEGAL_RELATIVE_PATH",
00054                        "-210",  "USER_CANCELLED",
00055                        "-211",  "INSTALL_NOT_STARTED",
00056                        "-212",  "SILENT_MODE_DENIED",
00057                        "-213",  "NO_SUCH_COMPONENT",
00058                        "-214",  "DOES_NOT_EXIST",
00059                        "-215",  "READ_ONLY",
00060                        "-216",  "IS_DIRECTORY",
00061                        "-217",  "NETWORK_FILE_IS_IN_USE",
00062                        "-218",  "APPLE_SINGLE_ERR",
00063                        "-219",  "INVALID_PATH_ERR",
00064                        "-220",  "PATCH_BAD_DIFF",
00065                        "-221",  "PATCH_BAD_CHECKSUM_TARGET",
00066                        "-222",  "PATCH_BAD_CHECKSUM_RESULT",
00067                        "-223",  "UNINSTALL_FAILED",
00068                        "-224",  "PACKAGE_FOLDER_NOT_SET",
00069                        "-225",  "EXTRACTION_FAILED",
00070                        "-226",  "FILENAME_ALREADY_USED",
00071                        "-227",  "ABORT_INSTALL",
00072                        "-228",  "DOWNLOAD_ERROR",
00073                        "-229",  "SCRIPT_ERROR",
00074                        "-230",  "ALREADY_EXISTS",
00075                        "-231",  "IS_FILE",
00076                        "-232",  "SOURCE_DOES_NOT_EXIST",
00077                        "-233",  "SOURCE_IS_DIRECTORY",
00078                        "-234",  "SOURCE_IS_FILE",
00079                        "-235",  "INSUFFICIENT_DISK_SPACE",
00080                        "-236",  "FILENAME_TOO_LONG",
00081                        "-237",  "UNABLE_TO_LOCATE_LIB_FUNCTION",
00082                        "-238",  "UNABLE_TO_LOAD_LIBRARY",
00083                        "-239",  "CHROME_REGISTRY_ERROR",
00084                        "-240",  "MALFORMED_INSTALL",
00085                        "-241",  "KEY_ACCESS_DENIED",
00086                        "-242",  "KEY_DOES_NOT_EXIST",
00087                        "-243",  "VALUE_DOES_NOT_EXIST",
00088                        "-299",  "OUT_OF_MEMORY",
00089                        "-322",  "INIT_STUB_ERROR",
00090                        "-5550", "GESTALT_UNKNOWN_ERR",
00091                        "-5551", "GESTALT_INVALID_ARGUMENT",
00092                        ""};
00093 
00094 #endif /* _XPERR_H_ */
00095