Providing a chain of tokenized error and state information for a call stack
Abstract
An arrangement is provided for generating an error chain in a call stack. A function is invoked to perform a functionality. If an error occurs during performing the first function, errors including the ones contained in an error chain, created based on at least one context specific error state and represented by an error tokan, and the error, occurred during said performing the functionality, are processed. The function then returns to another function that invokes it either with a new token error token representing a new error chain containing the error occurred and the errors contained in the error chain or with an error status. If the function does not error, it returns a normal status to the other function that invokes it.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 10 · Forward citations: 7.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method, comprising: performing a first function; and generating, if said performing of the first function is in error, a context specific error state; and generating an error chain, the error chain being generated based on the context specific error state and represented by an error token, wherein the error token includes a fingerprint and an error buffer index pointing at an address where the context specific error state is stored in the error chain.
- Claim 2Depends on #1
The method according to claim 1 , wherein the context specific error state includes at least one of: programmatic error information; or human readable error information.
- Claim 3Depends on #2
The method according to claim 2 , wherein the programmatic error information includes at least one of: local error state; global error state; or fatal error state.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (7 of 7 total)
References Cited — Backward Prior Art (10)
Non-Patent Literature (1)
- Intel, Intel IXA SDK ACE Programming Framework SDK 2.0 Reference, Aug. 2001, Revision 3.3, pp. xix, xx, 1, 14, 131-134, 141-153.