-
Notifications
You must be signed in to change notification settings - Fork 214
/
Copy pathevents.yaml
54 lines (54 loc) · 2.04 KB
/
events.yaml
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
groups:
- id: event.browser.exception
stability: development
type: event
name: browser.exception
brief: >
This event describes an error or exception that occurs in a browser application.
body:
id: browser.exception
requirement_level: required
stability: development
type: map
fields:
- id: file_name
type: string
stability: development
brief: Name of the file that generated the error.
requirement_level: recommended
examples: ["foo.js"]
- id: line_number
type: int
stability: development
brief: Line number where the error occurred.
requirement_level: recommended
examples: [3]
- id: column_number
type: int
stability: development
brief: Column number where the error occurred.
requirement_level: recommended
examples: [5]
- id: message
type: string
stability: development
brief: The exception message.
requirement_level: recommended
examples: ["Can't convert 'int' object to str implicitly"]
- id: stacktrace
type: string
stability: development
brief: >
A stacktrace as a string in the natural representation for the language runtime.
The representation is to be determined and documented by each language SIG.
requirement_level: recommended
examples: ["Exception in thread main java.lang.RuntimeException:
Test exception at com.example.GenerateTrace.methodB(GenerateTrace.java:13)"]
- id: type
type: string
stability: development
brief: >
The type of the exception (its fully-qualified class name, if applicable).
The dynamic type of the exception should be preferred over the static type in languages that support it.
requirement_level: recommended
examples: ["TypeError", "java.net.ConnectException", "OSError"]