forked from exceptionless/Exceptionless.JavaScript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathErrorInfo.ts
More file actions
40 lines (35 loc) · 808 Bytes
/
ErrorInfo.ts
File metadata and controls
40 lines (35 loc) · 808 Bytes
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
import { ModuleInfo } from "./ModuleInfo.js";
export class InnerErrorInfo {
message?: string;
type?: string;
code?: string;
data?: any;
inner?: InnerErrorInfo;
stack_trace?: StackFrameInfo[];
target_method?: MethodInfo;
}
export class ErrorInfo extends InnerErrorInfo {
modules?: ModuleInfo[];
}
export class MethodInfo {
data?: any;
generic_arguments?: string[];
parameters?: ParameterInfo[];
is_signature_target?: boolean;
declaring_namespace?: string;
declaring_type?: string;
name?: string;
module_id?: number;
}
export class ParameterInfo {
data?: any;
generic_arguments?: string[];
name?: string;
type?: string;
type_namespace?: string;
}
export class StackFrameInfo extends MethodInfo {
file_name?: string;
line_number?: number;
column?: number;
}