Carbon


URLGetError

Header: URLAccess.h Carbon status: Supported

Determines the error code of a failed data transfer operation.

OSStatus URLGetError (
    URLReference urlRef, 
    OSStatus *urlError
);
Parameter descriptions
urlRef

A reference to the URL whose data transfer operation failed.

urlError

A pointer to a C string representing the name of the error code returned by the failed operation.

function result

A result code.

DISCUSSION

The URLGetError function determines the error code returned when a data transfer operation fails. The error code may be a system error code, a protocol-specific error code, or one of the error codes listed in “URL Access Result Codes”.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)