prerr.h 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250
  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/. */
  5. #ifndef prerr_h___
  6. #define prerr_h___
  7. /*
  8. *
  9. * prerr.h
  10. * This file is automatically generated; please do not edit it.
  11. */
  12. /* Memory allocation attempt failed */
  13. #define PR_OUT_OF_MEMORY_ERROR (-6000L)
  14. /* Invalid file descriptor */
  15. #define PR_BAD_DESCRIPTOR_ERROR (-5999L)
  16. /* The operation would have blocked */
  17. #define PR_WOULD_BLOCK_ERROR (-5998L)
  18. /* Invalid memory address argument */
  19. #define PR_ACCESS_FAULT_ERROR (-5997L)
  20. /* Invalid function for file type */
  21. #define PR_INVALID_METHOD_ERROR (-5996L)
  22. /* Invalid memory address argument */
  23. #define PR_ILLEGAL_ACCESS_ERROR (-5995L)
  24. /* Some unknown error has occurred */
  25. #define PR_UNKNOWN_ERROR (-5994L)
  26. /* Operation interrupted by another thread */
  27. #define PR_PENDING_INTERRUPT_ERROR (-5993L)
  28. /* function not implemented */
  29. #define PR_NOT_IMPLEMENTED_ERROR (-5992L)
  30. /* I/O function error */
  31. #define PR_IO_ERROR (-5991L)
  32. /* I/O operation timed out */
  33. #define PR_IO_TIMEOUT_ERROR (-5990L)
  34. /* I/O operation on busy file descriptor */
  35. #define PR_IO_PENDING_ERROR (-5989L)
  36. /* The directory could not be opened */
  37. #define PR_DIRECTORY_OPEN_ERROR (-5988L)
  38. /* Invalid function argument */
  39. #define PR_INVALID_ARGUMENT_ERROR (-5987L)
  40. /* Network address not available (in use?) */
  41. #define PR_ADDRESS_NOT_AVAILABLE_ERROR (-5986L)
  42. /* Network address type not supported */
  43. #define PR_ADDRESS_NOT_SUPPORTED_ERROR (-5985L)
  44. /* Already connected */
  45. #define PR_IS_CONNECTED_ERROR (-5984L)
  46. /* Network address is invalid */
  47. #define PR_BAD_ADDRESS_ERROR (-5983L)
  48. /* Local Network address is in use */
  49. #define PR_ADDRESS_IN_USE_ERROR (-5982L)
  50. /* Connection refused by peer */
  51. #define PR_CONNECT_REFUSED_ERROR (-5981L)
  52. /* Network address is presently unreachable */
  53. #define PR_NETWORK_UNREACHABLE_ERROR (-5980L)
  54. /* Connection attempt timed out */
  55. #define PR_CONNECT_TIMEOUT_ERROR (-5979L)
  56. /* Network file descriptor is not connected */
  57. #define PR_NOT_CONNECTED_ERROR (-5978L)
  58. /* Failure to load dynamic library */
  59. #define PR_LOAD_LIBRARY_ERROR (-5977L)
  60. /* Failure to unload dynamic library */
  61. #define PR_UNLOAD_LIBRARY_ERROR (-5976L)
  62. /* Symbol not found in any of the loaded dynamic libraries */
  63. #define PR_FIND_SYMBOL_ERROR (-5975L)
  64. /* Insufficient system resources */
  65. #define PR_INSUFFICIENT_RESOURCES_ERROR (-5974L)
  66. /* A directory lookup on a network address has failed */
  67. #define PR_DIRECTORY_LOOKUP_ERROR (-5973L)
  68. /* Attempt to access a TPD key that is out of range */
  69. #define PR_TPD_RANGE_ERROR (-5972L)
  70. /* Process open FD table is full */
  71. #define PR_PROC_DESC_TABLE_FULL_ERROR (-5971L)
  72. /* System open FD table is full */
  73. #define PR_SYS_DESC_TABLE_FULL_ERROR (-5970L)
  74. /* Network operation attempted on non-network file descriptor */
  75. #define PR_NOT_SOCKET_ERROR (-5969L)
  76. /* TCP-specific function attempted on a non-TCP file descriptor */
  77. #define PR_NOT_TCP_SOCKET_ERROR (-5968L)
  78. /* TCP file descriptor is already bound */
  79. #define PR_SOCKET_ADDRESS_IS_BOUND_ERROR (-5967L)
  80. /* Access Denied */
  81. #define PR_NO_ACCESS_RIGHTS_ERROR (-5966L)
  82. /* The requested operation is not supported by the platform */
  83. #define PR_OPERATION_NOT_SUPPORTED_ERROR (-5965L)
  84. /* The host operating system does not support the protocol requested */
  85. #define PR_PROTOCOL_NOT_SUPPORTED_ERROR (-5964L)
  86. /* Access to the remote file has been severed */
  87. #define PR_REMOTE_FILE_ERROR (-5963L)
  88. /* The value requested is too large to be stored in the data buffer provided */
  89. #define PR_BUFFER_OVERFLOW_ERROR (-5962L)
  90. /* TCP connection reset by peer */
  91. #define PR_CONNECT_RESET_ERROR (-5961L)
  92. /* Unused */
  93. #define PR_RANGE_ERROR (-5960L)
  94. /* The operation would have deadlocked */
  95. #define PR_DEADLOCK_ERROR (-5959L)
  96. /* The file is already locked */
  97. #define PR_FILE_IS_LOCKED_ERROR (-5958L)
  98. /* Write would result in file larger than the system allows */
  99. #define PR_FILE_TOO_BIG_ERROR (-5957L)
  100. /* The device for storing the file is full */
  101. #define PR_NO_DEVICE_SPACE_ERROR (-5956L)
  102. /* Unused */
  103. #define PR_PIPE_ERROR (-5955L)
  104. /* Unused */
  105. #define PR_NO_SEEK_DEVICE_ERROR (-5954L)
  106. /* Cannot perform a normal file operation on a directory */
  107. #define PR_IS_DIRECTORY_ERROR (-5953L)
  108. /* Symbolic link loop */
  109. #define PR_LOOP_ERROR (-5952L)
  110. /* File name is too long */
  111. #define PR_NAME_TOO_LONG_ERROR (-5951L)
  112. /* File not found */
  113. #define PR_FILE_NOT_FOUND_ERROR (-5950L)
  114. /* Cannot perform directory operation on a normal file */
  115. #define PR_NOT_DIRECTORY_ERROR (-5949L)
  116. /* Cannot write to a read-only file system */
  117. #define PR_READ_ONLY_FILESYSTEM_ERROR (-5948L)
  118. /* Cannot delete a directory that is not empty */
  119. #define PR_DIRECTORY_NOT_EMPTY_ERROR (-5947L)
  120. /* Cannot delete or rename a file object while the file system is busy */
  121. #define PR_FILESYSTEM_MOUNTED_ERROR (-5946L)
  122. /* Cannot rename a file to a file system on another device */
  123. #define PR_NOT_SAME_DEVICE_ERROR (-5945L)
  124. /* The directory object in the file system is corrupted */
  125. #define PR_DIRECTORY_CORRUPTED_ERROR (-5944L)
  126. /* Cannot create or rename a filename that already exists */
  127. #define PR_FILE_EXISTS_ERROR (-5943L)
  128. /* Directory is full. No additional filenames may be added */
  129. #define PR_MAX_DIRECTORY_ENTRIES_ERROR (-5942L)
  130. /* The required device was in an invalid state */
  131. #define PR_INVALID_DEVICE_STATE_ERROR (-5941L)
  132. /* The device is locked */
  133. #define PR_DEVICE_IS_LOCKED_ERROR (-5940L)
  134. /* No more entries in the directory */
  135. #define PR_NO_MORE_FILES_ERROR (-5939L)
  136. /* Encountered end of file */
  137. #define PR_END_OF_FILE_ERROR (-5938L)
  138. /* Seek error */
  139. #define PR_FILE_SEEK_ERROR (-5937L)
  140. /* The file is busy */
  141. #define PR_FILE_IS_BUSY_ERROR (-5936L)
  142. /* The I/O operation was aborted */
  143. #define PR_OPERATION_ABORTED_ERROR (-5935L)
  144. /* Operation is still in progress (probably a non-blocking connect) */
  145. #define PR_IN_PROGRESS_ERROR (-5934L)
  146. /* Operation has already been initiated (probably a non-blocking connect) */
  147. #define PR_ALREADY_INITIATED_ERROR (-5933L)
  148. /* The wait group is empty */
  149. #define PR_GROUP_EMPTY_ERROR (-5932L)
  150. /* Object state improper for request */
  151. #define PR_INVALID_STATE_ERROR (-5931L)
  152. /* Network is down */
  153. #define PR_NETWORK_DOWN_ERROR (-5930L)
  154. /* Socket shutdown */
  155. #define PR_SOCKET_SHUTDOWN_ERROR (-5929L)
  156. /* Connection aborted */
  157. #define PR_CONNECT_ABORTED_ERROR (-5928L)
  158. /* Host is unreachable */
  159. #define PR_HOST_UNREACHABLE_ERROR (-5927L)
  160. /* The library is not loaded */
  161. #define PR_LIBRARY_NOT_LOADED_ERROR (-5926L)
  162. /* The one-time function was previously called and failed. Its error code is no longer available */
  163. #define PR_CALL_ONCE_ERROR (-5925L)
  164. /* Placeholder for the end of the list */
  165. #define PR_MAX_ERROR (-5924L)
  166. extern void nspr_InitializePRErrorTable(void);
  167. #define ERROR_TABLE_BASE_nspr (-6000L)
  168. #endif /* prerr_h___ */