michael@0: /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #ifndef prerr_h___ michael@0: #define prerr_h___ michael@0: michael@0: /* michael@0: * michael@0: * prerr.h michael@0: * This file is automatically generated; please do not edit it. michael@0: */ michael@0: michael@0: /* Memory allocation attempt failed */ michael@0: #define PR_OUT_OF_MEMORY_ERROR (-6000L) michael@0: michael@0: /* Invalid file descriptor */ michael@0: #define PR_BAD_DESCRIPTOR_ERROR (-5999L) michael@0: michael@0: /* The operation would have blocked */ michael@0: #define PR_WOULD_BLOCK_ERROR (-5998L) michael@0: michael@0: /* Invalid memory address argument */ michael@0: #define PR_ACCESS_FAULT_ERROR (-5997L) michael@0: michael@0: /* Invalid function for file type */ michael@0: #define PR_INVALID_METHOD_ERROR (-5996L) michael@0: michael@0: /* Invalid memory address argument */ michael@0: #define PR_ILLEGAL_ACCESS_ERROR (-5995L) michael@0: michael@0: /* Some unknown error has occurred */ michael@0: #define PR_UNKNOWN_ERROR (-5994L) michael@0: michael@0: /* Operation interrupted by another thread */ michael@0: #define PR_PENDING_INTERRUPT_ERROR (-5993L) michael@0: michael@0: /* function not implemented */ michael@0: #define PR_NOT_IMPLEMENTED_ERROR (-5992L) michael@0: michael@0: /* I/O function error */ michael@0: #define PR_IO_ERROR (-5991L) michael@0: michael@0: /* I/O operation timed out */ michael@0: #define PR_IO_TIMEOUT_ERROR (-5990L) michael@0: michael@0: /* I/O operation on busy file descriptor */ michael@0: #define PR_IO_PENDING_ERROR (-5989L) michael@0: michael@0: /* The directory could not be opened */ michael@0: #define PR_DIRECTORY_OPEN_ERROR (-5988L) michael@0: michael@0: /* Invalid function argument */ michael@0: #define PR_INVALID_ARGUMENT_ERROR (-5987L) michael@0: michael@0: /* Network address not available (in use?) */ michael@0: #define PR_ADDRESS_NOT_AVAILABLE_ERROR (-5986L) michael@0: michael@0: /* Network address type not supported */ michael@0: #define PR_ADDRESS_NOT_SUPPORTED_ERROR (-5985L) michael@0: michael@0: /* Already connected */ michael@0: #define PR_IS_CONNECTED_ERROR (-5984L) michael@0: michael@0: /* Network address is invalid */ michael@0: #define PR_BAD_ADDRESS_ERROR (-5983L) michael@0: michael@0: /* Local Network address is in use */ michael@0: #define PR_ADDRESS_IN_USE_ERROR (-5982L) michael@0: michael@0: /* Connection refused by peer */ michael@0: #define PR_CONNECT_REFUSED_ERROR (-5981L) michael@0: michael@0: /* Network address is presently unreachable */ michael@0: #define PR_NETWORK_UNREACHABLE_ERROR (-5980L) michael@0: michael@0: /* Connection attempt timed out */ michael@0: #define PR_CONNECT_TIMEOUT_ERROR (-5979L) michael@0: michael@0: /* Network file descriptor is not connected */ michael@0: #define PR_NOT_CONNECTED_ERROR (-5978L) michael@0: michael@0: /* Failure to load dynamic library */ michael@0: #define PR_LOAD_LIBRARY_ERROR (-5977L) michael@0: michael@0: /* Failure to unload dynamic library */ michael@0: #define PR_UNLOAD_LIBRARY_ERROR (-5976L) michael@0: michael@0: /* Symbol not found in any of the loaded dynamic libraries */ michael@0: #define PR_FIND_SYMBOL_ERROR (-5975L) michael@0: michael@0: /* Insufficient system resources */ michael@0: #define PR_INSUFFICIENT_RESOURCES_ERROR (-5974L) michael@0: michael@0: /* A directory lookup on a network address has failed */ michael@0: #define PR_DIRECTORY_LOOKUP_ERROR (-5973L) michael@0: michael@0: /* Attempt to access a TPD key that is out of range */ michael@0: #define PR_TPD_RANGE_ERROR (-5972L) michael@0: michael@0: /* Process open FD table is full */ michael@0: #define PR_PROC_DESC_TABLE_FULL_ERROR (-5971L) michael@0: michael@0: /* System open FD table is full */ michael@0: #define PR_SYS_DESC_TABLE_FULL_ERROR (-5970L) michael@0: michael@0: /* Network operation attempted on non-network file descriptor */ michael@0: #define PR_NOT_SOCKET_ERROR (-5969L) michael@0: michael@0: /* TCP-specific function attempted on a non-TCP file descriptor */ michael@0: #define PR_NOT_TCP_SOCKET_ERROR (-5968L) michael@0: michael@0: /* TCP file descriptor is already bound */ michael@0: #define PR_SOCKET_ADDRESS_IS_BOUND_ERROR (-5967L) michael@0: michael@0: /* Access Denied */ michael@0: #define PR_NO_ACCESS_RIGHTS_ERROR (-5966L) michael@0: michael@0: /* The requested operation is not supported by the platform */ michael@0: #define PR_OPERATION_NOT_SUPPORTED_ERROR (-5965L) michael@0: michael@0: /* The host operating system does not support the protocol requested */ michael@0: #define PR_PROTOCOL_NOT_SUPPORTED_ERROR (-5964L) michael@0: michael@0: /* Access to the remote file has been severed */ michael@0: #define PR_REMOTE_FILE_ERROR (-5963L) michael@0: michael@0: /* The value requested is too large to be stored in the data buffer provided */ michael@0: #define PR_BUFFER_OVERFLOW_ERROR (-5962L) michael@0: michael@0: /* TCP connection reset by peer */ michael@0: #define PR_CONNECT_RESET_ERROR (-5961L) michael@0: michael@0: /* Unused */ michael@0: #define PR_RANGE_ERROR (-5960L) michael@0: michael@0: /* The operation would have deadlocked */ michael@0: #define PR_DEADLOCK_ERROR (-5959L) michael@0: michael@0: /* The file is already locked */ michael@0: #define PR_FILE_IS_LOCKED_ERROR (-5958L) michael@0: michael@0: /* Write would result in file larger than the system allows */ michael@0: #define PR_FILE_TOO_BIG_ERROR (-5957L) michael@0: michael@0: /* The device for storing the file is full */ michael@0: #define PR_NO_DEVICE_SPACE_ERROR (-5956L) michael@0: michael@0: /* Unused */ michael@0: #define PR_PIPE_ERROR (-5955L) michael@0: michael@0: /* Unused */ michael@0: #define PR_NO_SEEK_DEVICE_ERROR (-5954L) michael@0: michael@0: /* Cannot perform a normal file operation on a directory */ michael@0: #define PR_IS_DIRECTORY_ERROR (-5953L) michael@0: michael@0: /* Symbolic link loop */ michael@0: #define PR_LOOP_ERROR (-5952L) michael@0: michael@0: /* File name is too long */ michael@0: #define PR_NAME_TOO_LONG_ERROR (-5951L) michael@0: michael@0: /* File not found */ michael@0: #define PR_FILE_NOT_FOUND_ERROR (-5950L) michael@0: michael@0: /* Cannot perform directory operation on a normal file */ michael@0: #define PR_NOT_DIRECTORY_ERROR (-5949L) michael@0: michael@0: /* Cannot write to a read-only file system */ michael@0: #define PR_READ_ONLY_FILESYSTEM_ERROR (-5948L) michael@0: michael@0: /* Cannot delete a directory that is not empty */ michael@0: #define PR_DIRECTORY_NOT_EMPTY_ERROR (-5947L) michael@0: michael@0: /* Cannot delete or rename a file object while the file system is busy */ michael@0: #define PR_FILESYSTEM_MOUNTED_ERROR (-5946L) michael@0: michael@0: /* Cannot rename a file to a file system on another device */ michael@0: #define PR_NOT_SAME_DEVICE_ERROR (-5945L) michael@0: michael@0: /* The directory object in the file system is corrupted */ michael@0: #define PR_DIRECTORY_CORRUPTED_ERROR (-5944L) michael@0: michael@0: /* Cannot create or rename a filename that already exists */ michael@0: #define PR_FILE_EXISTS_ERROR (-5943L) michael@0: michael@0: /* Directory is full. No additional filenames may be added */ michael@0: #define PR_MAX_DIRECTORY_ENTRIES_ERROR (-5942L) michael@0: michael@0: /* The required device was in an invalid state */ michael@0: #define PR_INVALID_DEVICE_STATE_ERROR (-5941L) michael@0: michael@0: /* The device is locked */ michael@0: #define PR_DEVICE_IS_LOCKED_ERROR (-5940L) michael@0: michael@0: /* No more entries in the directory */ michael@0: #define PR_NO_MORE_FILES_ERROR (-5939L) michael@0: michael@0: /* Encountered end of file */ michael@0: #define PR_END_OF_FILE_ERROR (-5938L) michael@0: michael@0: /* Seek error */ michael@0: #define PR_FILE_SEEK_ERROR (-5937L) michael@0: michael@0: /* The file is busy */ michael@0: #define PR_FILE_IS_BUSY_ERROR (-5936L) michael@0: michael@0: /* The I/O operation was aborted */ michael@0: #define PR_OPERATION_ABORTED_ERROR (-5935L) michael@0: michael@0: /* Operation is still in progress (probably a non-blocking connect) */ michael@0: #define PR_IN_PROGRESS_ERROR (-5934L) michael@0: michael@0: /* Operation has already been initiated (probably a non-blocking connect) */ michael@0: #define PR_ALREADY_INITIATED_ERROR (-5933L) michael@0: michael@0: /* The wait group is empty */ michael@0: #define PR_GROUP_EMPTY_ERROR (-5932L) michael@0: michael@0: /* Object state improper for request */ michael@0: #define PR_INVALID_STATE_ERROR (-5931L) michael@0: michael@0: /* Network is down */ michael@0: #define PR_NETWORK_DOWN_ERROR (-5930L) michael@0: michael@0: /* Socket shutdown */ michael@0: #define PR_SOCKET_SHUTDOWN_ERROR (-5929L) michael@0: michael@0: /* Connection aborted */ michael@0: #define PR_CONNECT_ABORTED_ERROR (-5928L) michael@0: michael@0: /* Host is unreachable */ michael@0: #define PR_HOST_UNREACHABLE_ERROR (-5927L) michael@0: michael@0: /* The library is not loaded */ michael@0: #define PR_LIBRARY_NOT_LOADED_ERROR (-5926L) michael@0: michael@0: /* The one-time function was previously called and failed. Its error code is no longer available */ michael@0: #define PR_CALL_ONCE_ERROR (-5925L) michael@0: michael@0: /* Placeholder for the end of the list */ michael@0: #define PR_MAX_ERROR (-5924L) michael@0: michael@0: extern void nspr_InitializePRErrorTable(void); michael@0: #define ERROR_TABLE_BASE_nspr (-6000L) michael@0: michael@0: #endif /* prerr_h___ */