File tree Expand file tree Collapse file tree 4 files changed +24
-22
lines changed
Expand file tree Collapse file tree 4 files changed +24
-22
lines changed Original file line number Diff line number Diff line change 11configured_endpoints : 15
22openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-5d4e11bc46eeecee7363d56a9dfe946acee997d5b352c2b0a50c20e742c54d2d.yml
33openapi_spec_hash : 333e53ad9c706296b9afdb8ff73bec8f
4- config_hash : df959c379e1145106030a4869b006afe
4+ config_hash : 79af9b3bec53ee798dddcf815befa25d
Original file line number Diff line number Diff line change 22
33Types:
44
5- - <code ><a href =" ./src/resources/shared.ts " >Error</a ></code >
65- <code ><a href =" ./src/resources/shared.ts " >ErrorDetail</a ></code >
76- <code ><a href =" ./src/resources/shared.ts " >ErrorEvent</a ></code >
87- <code ><a href =" ./src/resources/shared.ts " >LogEvent</a ></code >
Original file line number Diff line number Diff line change @@ -814,7 +814,6 @@ export declare namespace Kernel {
814814 type BrowserDeleteParams as BrowserDeleteParams ,
815815 } ;
816816
817- export type Error = API . Error ;
818817 export type ErrorDetail = API . ErrorDetail ;
819818 export type ErrorEvent = API . ErrorEvent ;
820819 export type LogEvent = API . LogEvent ;
Original file line number Diff line number Diff line change 11// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22
3- export interface Error {
4- /**
5- * Application-specific error code (machine-readable)
6- */
7- code : string ;
8-
9- /**
10- * Human-readable error description for debugging
11- */
12- message : string ;
13-
14- /**
15- * Additional error details (for multiple errors)
16- */
17- details ?: Array < ErrorDetail > ;
18-
19- inner_error ?: ErrorDetail ;
20- }
3+ import * as Shared from './shared' ;
214
225export interface ErrorDetail {
236 /**
@@ -35,7 +18,7 @@ export interface ErrorDetail {
3518 * An error event from the application.
3619 */
3720export interface ErrorEvent {
38- error : Error ;
21+ error : ErrorEvent . Error ;
3922
4023 /**
4124 * Event type identifier (always "error").
@@ -48,6 +31,27 @@ export interface ErrorEvent {
4831 timestamp : string ;
4932}
5033
34+ export namespace ErrorEvent {
35+ export interface Error {
36+ /**
37+ * Application-specific error code (machine-readable)
38+ */
39+ code : string ;
40+
41+ /**
42+ * Human-readable error description for debugging
43+ */
44+ message : string ;
45+
46+ /**
47+ * Additional error details (for multiple errors)
48+ */
49+ details ?: Array < Shared . ErrorDetail > ;
50+
51+ inner_error ?: Shared . ErrorDetail ;
52+ }
53+ }
54+
5155/**
5256 * A log entry from the application.
5357 */
You can’t perform that action at this time.
0 commit comments