File: ExceptionDetails.bond

package info (click to toggle)
python-applicationinsights 0.11.10-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 876 kB
  • sloc: python: 5,948; makefile: 151; sh: 77
file content (32 lines) | stat: -rw-r--r-- 1,188 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import "StackFrame.bond"

namespace AI

[Description("Exception details of the exception in a chain.")]
struct ExceptionDetails
{
    [Description("In case exception is nested (outer exception contains inner one), the id and outerId properties are used to represent the nesting.")]
    10: int32 	 id;
    
    [Description("The value of outerId is a reference to an element in ExceptionDetails that represents the outer exception")]
    20: int32 	 outerId;
    
    [Description("Exception type name.")]
    [MaxStringLength("1024")]
    30: required string 	 typeName;
    
    [Description("Exception message.")]
    [MaxStringLength("32768")]
    40: required string 	 message;
    
    [Description("Indicates if full exception stack is provided in the exception. The stack may be trimmed, such as in the case of a StackOverflow exception.")]
    50: bool 	 hasFullStack = true;
    
    [Description("Text describing the stack. Either stack or parsedStack should have a value.")]
    [MaxStringLength("32768")]
    60: string 	 stack;
    
    [Description("List of stack frames. Either stack or parsedStack should have a value.")]
    70: vector<StackFrame> 	 parsedStack;
    
}