prerrstrs.h revision 7c478bd95313f5f23a4c958a745db2134aa03244
/*
* Copyright (c) 2001 by Sun Microsystems, Inc.
* All rights reserved.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
/*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Mozilla Communicator client code, released
* March 31, 1998.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
/*
* pserrstrs.h - map NSPR errors to strings (used by errormap.c)
*
*/
/*
****************************************************************************
* The code below this point was provided by Nelson Bolyard <nelsonb> of the
* Netscape Certificate Server team on 27-March-1998.
* Taken from the file ns/security/cmd/lib/NSPRerrs.h on NSS_1_BRANCH.
* Last updated from there: 24-July-1998 by Mark Smith <mcs>
*
* All of the Directory Server specific changes are enclosed inside
* #ifdef NS_DIRECTORY.
****************************************************************************
*/
/* General NSPR 2.0 errors */
/* Caller must #include "prerror.h" */
"Memory allocation attempt failed.") )
"Invalid file descriptor.") )
"The operation would have blocked.") )
"Invalid memory address argument.") )
"Invalid function for file type.") )
"Invalid memory address argument.") )
"Some unknown error has occurred.") )
"Operation interrupted by another thread.") )
"function not implemented.") )
"I/O function error.") )
"I/O operation timed out.") )
"I/O operation on busy file descriptor.") )
"The directory could not be opened.") )
"Invalid function argument.") )
"Network address not available (in use?).") )
"Network address type not supported.") )
"Already connected.") )
"Network address is invalid.") )
"Local Network address is in use.") )
"Connection refused by peer.") )
"Network address is presently unreachable.") )
"Connection attempt timed out.") )
"Network file descriptor is not connected.") )
"Failure to load dynamic library.") )
"Failure to unload dynamic library.") )
"Symbol not found in any of the loaded dynamic libraries.") )
"Insufficient system resources.") )
"A directory lookup on a network address has failed.") )
"Attempt to access a TPD key that is out of range.") )
"Process open FD table is full.") )
"System open FD table is full.") )
"Network operation attempted on non-network file descriptor.") )
"TCP-specific function attempted on a non-TCP file descriptor.") )
"TCP file descriptor is already bound.") )
"Access Denied.") )
"The requested operation is not supported by the platform.") )
"The host operating system does not support the protocol requested.") )
"Access to the remote file has been severed.") )
"The value requested is too large to be stored in the data buffer provided.") )
"TCP connection reset by peer.") )
"Unused.") )
"The operation would have deadlocked.") )
"The file is already locked.") )
"Write would result in file larger than the system allows.") )
"The device for storing the file is full.") )
"Unused.") )
"Unused.") )
"Cannot perform a normal file operation on a directory.") )
"Symbolic link loop.") )
"File name is too long.") )
"File not found.") )
"Cannot perform directory operation on a normal file.") )
"Cannot write to a read-only file system.") )
"Cannot delete a directory that is not empty.") )
"Cannot delete or rename a file object while the file system is busy.") )
"Cannot rename a file to a file system on another device.") )
"The directory object in the file system is corrupted.") )
"Cannot create or rename a filename that already exists.") )
"Directory is full. No additional filenames may be added.") )
"The required device was in an invalid state.") )
"The device is locked.") )
"No more entries in the directory.") )
"Encountered end of file.") )
"Seek error.") )
"The file is busy.") )
"Operation is still in progress (probably a non-blocking connect).") )
"Operation has already been initiated (probably a non-blocking connect).") )
#ifdef PR_GROUP_EMPTY_ERROR
"The wait group is empty.") )
#endif
#ifdef PR_INVALID_STATE_ERROR
"Object state improper for request.") )
#endif