Browse Prior Art Database

A Mechanism for Efficiently and Optionally Providing Rich Error Information from an API in a Thread Independent Fashion Disclosure Number: IPCOM000168826D
Original Publication Date: 2008-Mar-28
Included in the Prior Art Database: 2008-Mar-28

Publishing Venue


Related People

Erik B. Christensen Michael J. Coulson Kamen K. Moutafov


A mechanism is described herein that improves upon the existing error communication mechanisms between application programming interfaces (API) and their callers. To provide accurate, useful information while preventing an API from carrying the burden of storing the information, the information is passed through parameters from the calling APIs. The mechanism allows for APIs to return a traditional error code that indicates the reason for the failure but adds an additional parameter, which is called an error object. If there is a non-NULL error object parameter, this indicates that the API should provide as little or as much detailed error information about any failures that occur.