On Wed, May 12, 2010 07:37, Bihar Anwar wrote:
Something like this one:
https://libxpl.arsoft.homeip.net/browser/trunk/errormap/xplErrorMap.cpp?rev=70
I don't think we have platform independent (named) constants defined, but
as you probably know, common error code _values_ are defined for our
On 12 May 2010, at 05:53, Bihar Anwar wrote:
As the title says. :-)
No, it doesn't.
Jonas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Jonas Maebe on May 12, 2010 2:32:18 PM
On 12 May 2010, at 05:53, Bihar Anwar wrote:
As the title says. :-)
No, it doesn't.
Any reason for that? or it is not implemented yet?
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
In our previous episode, Bihar Anwar said:
On 12 May 2010, at 05:53, Bihar Anwar wrote:
As the title says. :-)
No, it doesn't.
Any reason for that? or it is not implemented yet?
FPC does not support abstraction of operating system errorcodes, and doesn't
plan to.
The experiences in
Any reason for that? or it is not implemented yet?
For me: it's not required. The purpose of error code is to provide
information so we can handle it correctly, or at the simplest case, to
display to user what has happened. For the first one, usually errors in FPC
generate exception, you can
leledumbo onMay 12, 2010 3:58:09 PM
Any reason for that? or it is not implemented yet?
For the first one, usually errors in FPCgenerate exception, you can handle
that instead.
Yes, as you said usually, it is not always. For example, FindFirst() and
FindNext return OS dependent error code.
As the title says. :-)
I mean
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
I mean, for example, are there something like:
- fpcError_ERROR_PATH_NOT_FOUND = ESysENOENT in UNIX
fpcError_ERROR_PATH_NOT_FOUND = ERROR_PATH_NOT_FOUND in Windows
- fpcERROR_FILENAME_EXCED_RANGE = ESysENAMETOOLONG in UNIX
fpcERROR_FILENAME_EXCED_RANGE = ERROR_FILENAME_EXCED_RANGE
Something like this one:
https://libxpl.arsoft.homeip.net/browser/trunk/errormap/xplErrorMap.cpp?rev=70
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal