-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathshared.ts
More file actions
69 lines (57 loc) · 1.1 KB
/
Copy pathshared.ts
File metadata and controls
69 lines (57 loc) · 1.1 KB
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
export interface ErrorDetail {
/**
* Lower-level error code providing more specific detail
*/
code?: string;
/**
* Further detail about the error
*/
message?: string;
}
/**
* An error event from the application.
*/
export interface ErrorEvent {
error: ErrorModel;
/**
* Event type identifier (always "error").
*/
event: 'error';
/**
* Time the error occurred.
*/
timestamp: string;
}
export interface ErrorModel {
/**
* Application-specific error code (machine-readable)
*/
code: string;
/**
* Human-readable error description for debugging
*/
message: string;
/**
* Additional error details (for multiple errors)
*/
details?: Array<ErrorDetail>;
inner_error?: ErrorDetail;
}
/**
* A log entry from the application.
*/
export interface LogEvent {
/**
* Event type identifier (always "log").
*/
event: 'log';
/**
* Log message text.
*/
message: string;
/**
* Time the log entry was produced.
*/
timestamp: string;
}