Next Previous Up Top Contents Index

8.5 Error handling

<ole-error>

Open concrete primary class

Summary

The class of OLE error codes.

Superclasses

<error> 

Init-keywords

status:
An instance of <SCODE>. Required.

context:
An instance of false-or(<string>). Default value: #f.

instance:
An instance of <interface>.

args:
An instance of <sequence>. Default value: #().

Library

COM

Module

COM

Description

The class of OLE error codes.

Rather than instantiate an error directly with make, you can also use the convenience function check-ole-status, or ole-error to create and signal an instance of this class.

You can use the following accessor functions on the error object:

ole-error-status

Returns the low-level status code.

ole-error-context

Returns the name of the function that returned the code.

ole-error-instance

Returns the interface that the function was acting upon.

ole-error-args

Returns a <sequence> of additional function arguments which the code that called ole-error or check-ole-status might have supplied in its call.


OLE, COM, ActiveX and DBMS Reference - 31 MAR 2000

Next Previous Up Top Contents Index