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