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