error.bi

Summary
error.bi
LicenseCopyright © 2007-2011, FreeBASIC Extended Library Development Group
ext
Enumerations
Error CodesAllows you easy access to every error code FreeBASIC can produce.
Functions
GetErrorTextRetrieves the English description of an error number

License

Copyright © 2007-2011, FreeBASIC Extended Library Development Group

Distributed under the FreeBASIC Extended Library Group license.  See accompanying file LICENSE.txt or copy at http://code.google.com/p/fb-extended-lib/wiki/License

ext

Summary
Enumerations
Error CodesAllows you easy access to every error code FreeBASIC can produce.
Functions
GetErrorTextRetrieves the English description of an error number

Enumerations

Error Codes

Allows you easy access to every error code FreeBASIC can produce.

ERR_NO_ERROR

ERR_ILLEGAL_FUNCTION_CALL

ERR_FILE_NOT_FOUND

ERR_FILE_IO_ERROR

ERR_OUT_OF_MEMORY

ERR_ILLEGAL_RESUME

ERR_ARRAY_OUT_OF_BOUNDS

ERR_NULL_POINTER_ACCESS

ERR_NO_PRIVILEGES

ERR_INTERRUPTED_SIGNAL

ERR_ILLEGAL_INSTRUCTION

ERR_FLOAT_ERROR

ERR_SEG_VIOLATION

ERR_TERMINATION_REQUEST

ERR_ABNORMAL_TERMINATION

ERR_QUIT_REQUEST

Functions

GetErrorText

declare function GetErrorText (byval err_number as integer) as string

Retrieves the English description of an error number

Parameters

err_numberthe error number to retrieve.

Returns

String containing the error message.

declare function GetErrorText (byval err_number as integer) as string
Retrieves the English description of an error number