Errors are reported to the application with the error object and by firing the Error event. ErrorConstants fall into two classes: design-time errors and run-time errors. The Error event always fires when any error occurs. When Timeout is 0, however, run-time errors are not thrown back to the container. This allows applications that use only non-blocking operation to localize all error handling in the Error event. To summarize:
Timeout is 0 (non-blocking). All errors are reported via the Error event. Only errors classified as design time errors are also reported back from methods using the error object.
Timeout is not 0 (blocking). All errors are reported via the Error event. All errors occurring within the scope of a method are reported back to the container using the error object.
Errors are marked as INFO or FATAL. An INFO error does not affect the State property. A FATAL error performs an Abort and releases all resources.
Member | Value | Description |
---|---|---|
ptAbort | 11103 | Blocking operation cancelled by user |
ptAddressInUse | 10048 | Specified address in use (Connect method) |
ptAddressNotAvailable | 10049 | The remote address is not a valid address |
ptAuthentication | 12012 | An invalid UserName or Password was specified |
ptBlocked | 12011 | User thread is blocking in another method |
ptCompile | 12013 | An error occurred while compiling |
ptConnected | 12014 | A connection already exists |
ptConnectionAborted | 10053 | Connection was aborted due to timeout or other failure |
ptConnectionRefused | 10061 | Connection forcefully refused |
ptConnectionReset | 10054 | Connection was reset by the remote side executing a hard close |
ptError | 11100 | Unexpected error |
ptFile | 11102 | An error has occurred while performing a File I/O operation. |
ptFormatError | 12015 | The server was unable to interpret the query |
ptHeader | 12101 | The header is not properly terminated |
ptHostNotFound | 11001 | Authoritative: Host name could not be resolved |
ptHostUnreachable | 10065 | The host is not found |
ptHttpInvalidUrl | 12005 | The Url is unspecified or invalid. |
ptInvalidMailAddress | 12021 | The EMail address specified was not valid |
ptInvalidParam1 | 12001 | Parameter #1 is invalid |
ptInvalidParam2 | 12002 | Parameter #2 is invalid |
ptInvalidParam3 | 12003 | Parameter #3 is invalid |
ptInvalidParam4 | 12004 | Parameter #4 is invalid |
ptInvalidProperty | 12009 | Invalid property assignment. You are attempting to use a property that is not available in this version of the control. Please contact support@dart.com for more information. |
ptNetworkDown | 10050 | The network subsystem has failed |
ptNetworkReset | 10052 | Connection has been broken due to keep-alive activity detecting a failure |
ptNetworkUnreachable | 10051 | The network is unreachable |
ptNoAccess | 10013 | The user does not have the proper permissions |
ptNoBufferSpace | 10055 | No buffer space is available |
ptNoCertificate | 12020 | There was an error in creating credentials |
ptNoData | 11004 | Valid name, no data record of requested type |
ptNoRecovery | 11003 | A non-recoverable error |
ptNoSecurity | 12022 | Secure communications is not available on this machine |
ptNotConnected | 10057 | Not connected |
ptNotFound | 12017 | The name referred to in the query does not exist |
ptNotImplemented | 12018 | The server does not support the request type of query |
ptNotInitialized | 10093 | Network interface could not be initialized |
ptOk | 0 | Ok |
ptOperationRefused | 12019 | The server refused to perform the specified operation |
ptOptionNotSupported | 10042 | Specified socket option not supported |
ptProtocol | 11101 | An error has occurred in the the protocol |
ptServerError | 12016 | There was a failure on the server |
ptSocks4DifferentUserID | 12093 | The SOCKS4 server rejected the connection because the client program and identd report different user-ids |
ptSocks4NoAcceptableMethods | 12024 | The SOCKS5 server will not accept any of the requested methods |
ptSocks4NoIdentd | 12092 | The SOCKS4 server rejected the connection because it was unable to connect to identd on the client |
ptSocks4RequestRejected | 12091 | The SOCKS4 server rejected the connection (No reason given) |
ptSocks5AddressTypeNotSupported | 12038 | The SOCKS5 server reported that the address type is not supported |
ptSocks5AuthFailed | 12039 | The SOCKS5 server rejected the connection because authorization failed |
ptSocks5CommandNotSupported | 12037 | The SOCKS5 server reported that the command is not supported |
ptSocks5ConnectionRefused | 12035 | The SOCKS5 server reported that the host connection was refused |
ptSocks5HostUnreachable | 12034 | The SOCKS5 server reported that the host was unreachable |
ptSocks5NetworkUnreachable | 12033 | The SOCKS5 server reported that the network was unreachable |
ptSocks5NoRuleSet | 12032 | The SOCKS5 server reported that the connection was not allowed by the ruleset |
ptSocks5ServerFailure | 12031 | The SOCKS5 server reported a general failure |
ptSocks5TTLExpired | 12036 | The SOCKS5 server reported that the TTL has expired |
ptTimeout | 10060 | Timeout occurred for requested operation |
ptTryAgain | 11002 | Non-authoritiative: Host name could not be resolved |
zipError | 14001 | An error occurred during a zip operation |