nsprpub/pr/include/prerr.h

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

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

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

     1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
     2 /* This Source Code Form is subject to the terms of the Mozilla Public
     3  * License, v. 2.0. If a copy of the MPL was not distributed with this
     4  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     6 #ifndef prerr_h___
     7 #define prerr_h___
     9 /*
    10  *
    11  * prerr.h
    12  * This file is automatically generated; please do not edit it.
    13  */
    15 /* Memory allocation attempt failed */
    16 #define PR_OUT_OF_MEMORY_ERROR                   (-6000L)
    18 /* Invalid file descriptor */
    19 #define PR_BAD_DESCRIPTOR_ERROR                  (-5999L)
    21 /* The operation would have blocked */
    22 #define PR_WOULD_BLOCK_ERROR                     (-5998L)
    24 /* Invalid memory address argument */
    25 #define PR_ACCESS_FAULT_ERROR                    (-5997L)
    27 /* Invalid function for file type */
    28 #define PR_INVALID_METHOD_ERROR                  (-5996L)
    30 /* Invalid memory address argument */
    31 #define PR_ILLEGAL_ACCESS_ERROR                  (-5995L)
    33 /* Some unknown error has occurred */
    34 #define PR_UNKNOWN_ERROR                         (-5994L)
    36 /* Operation interrupted by another thread */
    37 #define PR_PENDING_INTERRUPT_ERROR               (-5993L)
    39 /* function not implemented */
    40 #define PR_NOT_IMPLEMENTED_ERROR                 (-5992L)
    42 /* I/O function error */
    43 #define PR_IO_ERROR                              (-5991L)
    45 /* I/O operation timed out */
    46 #define PR_IO_TIMEOUT_ERROR                      (-5990L)
    48 /* I/O operation on busy file descriptor */
    49 #define PR_IO_PENDING_ERROR                      (-5989L)
    51 /* The directory could not be opened */
    52 #define PR_DIRECTORY_OPEN_ERROR                  (-5988L)
    54 /* Invalid function argument */
    55 #define PR_INVALID_ARGUMENT_ERROR                (-5987L)
    57 /* Network address not available (in use?) */
    58 #define PR_ADDRESS_NOT_AVAILABLE_ERROR           (-5986L)
    60 /* Network address type not supported */
    61 #define PR_ADDRESS_NOT_SUPPORTED_ERROR           (-5985L)
    63 /* Already connected */
    64 #define PR_IS_CONNECTED_ERROR                    (-5984L)
    66 /* Network address is invalid */
    67 #define PR_BAD_ADDRESS_ERROR                     (-5983L)
    69 /* Local Network address is in use */
    70 #define PR_ADDRESS_IN_USE_ERROR                  (-5982L)
    72 /* Connection refused by peer */
    73 #define PR_CONNECT_REFUSED_ERROR                 (-5981L)
    75 /* Network address is presently unreachable */
    76 #define PR_NETWORK_UNREACHABLE_ERROR             (-5980L)
    78 /* Connection attempt timed out */
    79 #define PR_CONNECT_TIMEOUT_ERROR                 (-5979L)
    81 /* Network file descriptor is not connected */
    82 #define PR_NOT_CONNECTED_ERROR                   (-5978L)
    84 /* Failure to load dynamic library */
    85 #define PR_LOAD_LIBRARY_ERROR                    (-5977L)
    87 /* Failure to unload dynamic library */
    88 #define PR_UNLOAD_LIBRARY_ERROR                  (-5976L)
    90 /* Symbol not found in any of the loaded dynamic libraries */
    91 #define PR_FIND_SYMBOL_ERROR                     (-5975L)
    93 /* Insufficient system resources */
    94 #define PR_INSUFFICIENT_RESOURCES_ERROR          (-5974L)
    96 /* A directory lookup on a network address has failed */
    97 #define PR_DIRECTORY_LOOKUP_ERROR                (-5973L)
    99 /* Attempt to access a TPD key that is out of range */
   100 #define PR_TPD_RANGE_ERROR                       (-5972L)
   102 /* Process open FD table is full */
   103 #define PR_PROC_DESC_TABLE_FULL_ERROR            (-5971L)
   105 /* System open FD table is full */
   106 #define PR_SYS_DESC_TABLE_FULL_ERROR             (-5970L)
   108 /* Network operation attempted on non-network file descriptor */
   109 #define PR_NOT_SOCKET_ERROR                      (-5969L)
   111 /* TCP-specific function attempted on a non-TCP file descriptor */
   112 #define PR_NOT_TCP_SOCKET_ERROR                  (-5968L)
   114 /* TCP file descriptor is already bound */
   115 #define PR_SOCKET_ADDRESS_IS_BOUND_ERROR         (-5967L)
   117 /* Access Denied */
   118 #define PR_NO_ACCESS_RIGHTS_ERROR                (-5966L)
   120 /* The requested operation is not supported by the platform */
   121 #define PR_OPERATION_NOT_SUPPORTED_ERROR         (-5965L)
   123 /* The host operating system does not support the protocol requested */
   124 #define PR_PROTOCOL_NOT_SUPPORTED_ERROR          (-5964L)
   126 /* Access to the remote file has been severed */
   127 #define PR_REMOTE_FILE_ERROR                     (-5963L)
   129 /* The value requested is too large to be stored in the data buffer provided */
   130 #define PR_BUFFER_OVERFLOW_ERROR                 (-5962L)
   132 /* TCP connection reset by peer */
   133 #define PR_CONNECT_RESET_ERROR                   (-5961L)
   135 /* Unused */
   136 #define PR_RANGE_ERROR                           (-5960L)
   138 /* The operation would have deadlocked */
   139 #define PR_DEADLOCK_ERROR                        (-5959L)
   141 /* The file is already locked */
   142 #define PR_FILE_IS_LOCKED_ERROR                  (-5958L)
   144 /* Write would result in file larger than the system allows */
   145 #define PR_FILE_TOO_BIG_ERROR                    (-5957L)
   147 /* The device for storing the file is full */
   148 #define PR_NO_DEVICE_SPACE_ERROR                 (-5956L)
   150 /* Unused */
   151 #define PR_PIPE_ERROR                            (-5955L)
   153 /* Unused */
   154 #define PR_NO_SEEK_DEVICE_ERROR                  (-5954L)
   156 /* Cannot perform a normal file operation on a directory */
   157 #define PR_IS_DIRECTORY_ERROR                    (-5953L)
   159 /* Symbolic link loop */
   160 #define PR_LOOP_ERROR                            (-5952L)
   162 /* File name is too long */
   163 #define PR_NAME_TOO_LONG_ERROR                   (-5951L)
   165 /* File not found */
   166 #define PR_FILE_NOT_FOUND_ERROR                  (-5950L)
   168 /* Cannot perform directory operation on a normal file */
   169 #define PR_NOT_DIRECTORY_ERROR                   (-5949L)
   171 /* Cannot write to a read-only file system */
   172 #define PR_READ_ONLY_FILESYSTEM_ERROR            (-5948L)
   174 /* Cannot delete a directory that is not empty */
   175 #define PR_DIRECTORY_NOT_EMPTY_ERROR             (-5947L)
   177 /* Cannot delete or rename a file object while the file system is busy */
   178 #define PR_FILESYSTEM_MOUNTED_ERROR              (-5946L)
   180 /* Cannot rename a file to a file system on another device */
   181 #define PR_NOT_SAME_DEVICE_ERROR                 (-5945L)
   183 /* The directory object in the file system is corrupted */
   184 #define PR_DIRECTORY_CORRUPTED_ERROR             (-5944L)
   186 /* Cannot create or rename a filename that already exists */
   187 #define PR_FILE_EXISTS_ERROR                     (-5943L)
   189 /* Directory is full.  No additional filenames may be added */
   190 #define PR_MAX_DIRECTORY_ENTRIES_ERROR           (-5942L)
   192 /* The required device was in an invalid state */
   193 #define PR_INVALID_DEVICE_STATE_ERROR            (-5941L)
   195 /* The device is locked */
   196 #define PR_DEVICE_IS_LOCKED_ERROR                (-5940L)
   198 /* No more entries in the directory */
   199 #define PR_NO_MORE_FILES_ERROR                   (-5939L)
   201 /* Encountered end of file */
   202 #define PR_END_OF_FILE_ERROR                     (-5938L)
   204 /* Seek error */
   205 #define PR_FILE_SEEK_ERROR                       (-5937L)
   207 /* The file is busy */
   208 #define PR_FILE_IS_BUSY_ERROR                    (-5936L)
   210 /* The I/O operation was aborted */
   211 #define PR_OPERATION_ABORTED_ERROR               (-5935L)
   213 /* Operation is still in progress (probably a non-blocking connect) */
   214 #define PR_IN_PROGRESS_ERROR                     (-5934L)
   216 /* Operation has already been initiated (probably a non-blocking connect) */
   217 #define PR_ALREADY_INITIATED_ERROR               (-5933L)
   219 /* The wait group is empty */
   220 #define PR_GROUP_EMPTY_ERROR                     (-5932L)
   222 /* Object state improper for request */
   223 #define PR_INVALID_STATE_ERROR                   (-5931L)
   225 /* Network is down */
   226 #define PR_NETWORK_DOWN_ERROR                    (-5930L)
   228 /* Socket shutdown */
   229 #define PR_SOCKET_SHUTDOWN_ERROR                 (-5929L)
   231 /* Connection aborted */
   232 #define PR_CONNECT_ABORTED_ERROR                 (-5928L)
   234 /* Host is unreachable */
   235 #define PR_HOST_UNREACHABLE_ERROR                (-5927L)
   237 /* The library is not loaded */
   238 #define PR_LIBRARY_NOT_LOADED_ERROR              (-5926L)
   240 /* The one-time function was previously called and failed. Its error code is no longer available */
   241 #define PR_CALL_ONCE_ERROR                       (-5925L)
   243 /* Placeholder for the end of the list */
   244 #define PR_MAX_ERROR                             (-5924L)
   246 extern void nspr_InitializePRErrorTable(void);
   247 #define ERROR_TABLE_BASE_nspr (-6000L)
   249 #endif /* prerr_h___ */

mercurial