nsprpub/pr/src/misc/prerr.c

Wed, 31 Dec 2014 06:55:46 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:46 +0100
changeset 1
ca08bd8f51b2
permissions
-rw-r--r--

Added tag TORBROWSER_REPLICA for changeset 6474c204b198

michael@0 1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
michael@0 2 /* This Source Code Form is subject to the terms of the Mozilla Public
michael@0 3 * License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
michael@0 5
michael@0 6 /*
michael@0 7 *
michael@0 8 * prerr.c
michael@0 9 * This file is automatically generated; please do not edit it.
michael@0 10 */
michael@0 11 #include "prerror.h"
michael@0 12 static const struct PRErrorMessage text[] = {
michael@0 13 {"PR_OUT_OF_MEMORY_ERROR", "Memory allocation attempt failed"},
michael@0 14 {"PR_BAD_DESCRIPTOR_ERROR", "Invalid file descriptor"},
michael@0 15 {"PR_WOULD_BLOCK_ERROR", "The operation would have blocked"},
michael@0 16 {"PR_ACCESS_FAULT_ERROR", "Invalid memory address argument"},
michael@0 17 {"PR_INVALID_METHOD_ERROR", "Invalid function for file type"},
michael@0 18 {"PR_ILLEGAL_ACCESS_ERROR", "Invalid memory address argument"},
michael@0 19 {"PR_UNKNOWN_ERROR", "Some unknown error has occurred"},
michael@0 20 {"PR_PENDING_INTERRUPT_ERROR", "Operation interrupted by another thread"},
michael@0 21 {"PR_NOT_IMPLEMENTED_ERROR", "function not implemented"},
michael@0 22 {"PR_IO_ERROR", "I/O function error"},
michael@0 23 {"PR_IO_TIMEOUT_ERROR", "I/O operation timed out"},
michael@0 24 {"PR_IO_PENDING_ERROR", "I/O operation on busy file descriptor"},
michael@0 25 {"PR_DIRECTORY_OPEN_ERROR", "The directory could not be opened"},
michael@0 26 {"PR_INVALID_ARGUMENT_ERROR", "Invalid function argument"},
michael@0 27 {"PR_ADDRESS_NOT_AVAILABLE_ERROR", "Network address not available (in use?)"},
michael@0 28 {"PR_ADDRESS_NOT_SUPPORTED_ERROR", "Network address type not supported"},
michael@0 29 {"PR_IS_CONNECTED_ERROR", "Already connected"},
michael@0 30 {"PR_BAD_ADDRESS_ERROR", "Network address is invalid"},
michael@0 31 {"PR_ADDRESS_IN_USE_ERROR", "Local Network address is in use"},
michael@0 32 {"PR_CONNECT_REFUSED_ERROR", "Connection refused by peer"},
michael@0 33 {"PR_NETWORK_UNREACHABLE_ERROR", "Network address is presently unreachable"},
michael@0 34 {"PR_CONNECT_TIMEOUT_ERROR", "Connection attempt timed out"},
michael@0 35 {"PR_NOT_CONNECTED_ERROR", "Network file descriptor is not connected"},
michael@0 36 {"PR_LOAD_LIBRARY_ERROR", "Failure to load dynamic library"},
michael@0 37 {"PR_UNLOAD_LIBRARY_ERROR", "Failure to unload dynamic library"},
michael@0 38 {"PR_FIND_SYMBOL_ERROR", "Symbol not found in any of the loaded dynamic libraries"},
michael@0 39 {"PR_INSUFFICIENT_RESOURCES_ERROR", "Insufficient system resources"},
michael@0 40 {"PR_DIRECTORY_LOOKUP_ERROR", "A directory lookup on a network address has failed"},
michael@0 41 {"PR_TPD_RANGE_ERROR", "Attempt to access a TPD key that is out of range"},
michael@0 42 {"PR_PROC_DESC_TABLE_FULL_ERROR", "Process open FD table is full"},
michael@0 43 {"PR_SYS_DESC_TABLE_FULL_ERROR", "System open FD table is full"},
michael@0 44 {"PR_NOT_SOCKET_ERROR", "Network operation attempted on non-network file descriptor"},
michael@0 45 {"PR_NOT_TCP_SOCKET_ERROR", "TCP-specific function attempted on a non-TCP file descriptor"},
michael@0 46 {"PR_SOCKET_ADDRESS_IS_BOUND_ERROR", "TCP file descriptor is already bound"},
michael@0 47 {"PR_NO_ACCESS_RIGHTS_ERROR", "Access Denied"},
michael@0 48 {"PR_OPERATION_NOT_SUPPORTED_ERROR", "The requested operation is not supported by the platform"},
michael@0 49 {"PR_PROTOCOL_NOT_SUPPORTED_ERROR", "The host operating system does not support the protocol requested"},
michael@0 50 {"PR_REMOTE_FILE_ERROR", "Access to the remote file has been severed"},
michael@0 51 {"PR_BUFFER_OVERFLOW_ERROR", "The value requested is too large to be stored in the data buffer provided"},
michael@0 52 {"PR_CONNECT_RESET_ERROR", "TCP connection reset by peer"},
michael@0 53 {"PR_RANGE_ERROR", "Unused"},
michael@0 54 {"PR_DEADLOCK_ERROR", "The operation would have deadlocked"},
michael@0 55 {"PR_FILE_IS_LOCKED_ERROR", "The file is already locked"},
michael@0 56 {"PR_FILE_TOO_BIG_ERROR", "Write would result in file larger than the system allows"},
michael@0 57 {"PR_NO_DEVICE_SPACE_ERROR", "The device for storing the file is full"},
michael@0 58 {"PR_PIPE_ERROR", "Unused"},
michael@0 59 {"PR_NO_SEEK_DEVICE_ERROR", "Unused"},
michael@0 60 {"PR_IS_DIRECTORY_ERROR", "Cannot perform a normal file operation on a directory"},
michael@0 61 {"PR_LOOP_ERROR", "Symbolic link loop"},
michael@0 62 {"PR_NAME_TOO_LONG_ERROR", "File name is too long"},
michael@0 63 {"PR_FILE_NOT_FOUND_ERROR", "File not found"},
michael@0 64 {"PR_NOT_DIRECTORY_ERROR", "Cannot perform directory operation on a normal file"},
michael@0 65 {"PR_READ_ONLY_FILESYSTEM_ERROR", "Cannot write to a read-only file system"},
michael@0 66 {"PR_DIRECTORY_NOT_EMPTY_ERROR", "Cannot delete a directory that is not empty"},
michael@0 67 {"PR_FILESYSTEM_MOUNTED_ERROR", "Cannot delete or rename a file object while the file system is busy"},
michael@0 68 {"PR_NOT_SAME_DEVICE_ERROR", "Cannot rename a file to a file system on another device"},
michael@0 69 {"PR_DIRECTORY_CORRUPTED_ERROR", "The directory object in the file system is corrupted"},
michael@0 70 {"PR_FILE_EXISTS_ERROR", "Cannot create or rename a filename that already exists"},
michael@0 71 {"PR_MAX_DIRECTORY_ENTRIES_ERROR", "Directory is full. No additional filenames may be added"},
michael@0 72 {"PR_INVALID_DEVICE_STATE_ERROR", "The required device was in an invalid state"},
michael@0 73 {"PR_DEVICE_IS_LOCKED_ERROR", "The device is locked"},
michael@0 74 {"PR_NO_MORE_FILES_ERROR", "No more entries in the directory"},
michael@0 75 {"PR_END_OF_FILE_ERROR", "Encountered end of file"},
michael@0 76 {"PR_FILE_SEEK_ERROR", "Seek error"},
michael@0 77 {"PR_FILE_IS_BUSY_ERROR", "The file is busy"},
michael@0 78 {"PR_OPERATION_ABORTED_ERROR", "The I/O operation was aborted"},
michael@0 79 {"PR_IN_PROGRESS_ERROR", "Operation is still in progress (probably a non-blocking connect)"},
michael@0 80 {"PR_ALREADY_INITIATED_ERROR", "Operation has already been initiated (probably a non-blocking connect)"},
michael@0 81 {"PR_GROUP_EMPTY_ERROR", "The wait group is empty"},
michael@0 82 {"PR_INVALID_STATE_ERROR", "Object state improper for request"},
michael@0 83 {"PR_NETWORK_DOWN_ERROR", "Network is down"},
michael@0 84 {"PR_SOCKET_SHUTDOWN_ERROR", "Socket shutdown"},
michael@0 85 {"PR_CONNECT_ABORTED_ERROR", "Connection aborted"},
michael@0 86 {"PR_HOST_UNREACHABLE_ERROR", "Host is unreachable"},
michael@0 87 {"PR_LIBRARY_NOT_LOADED_ERROR", "The library is not loaded"},
michael@0 88 {"PR_CALL_ONCE_ERROR", "The one-time function was previously called and failed. Its error code is no longer available"},
michael@0 89 {"PR_MAX_ERROR", "Placeholder for the end of the list"},
michael@0 90 {0, 0}
michael@0 91 };
michael@0 92
michael@0 93 static const struct PRErrorTable et = { text, "prerr", -6000L, 77 };
michael@0 94
michael@0 95 void nspr_InitializePRErrorTable(void) {
michael@0 96 PR_ErrorInstallTable(&et);
michael@0 97 }

mercurial