File tree Expand file tree Collapse file tree 4 files changed +18
-20
lines changed
Expand file tree Collapse file tree 4 files changed +18
-20
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 : 79af9b3bec53ee798dddcf815befa25d
4+ config_hash : 0fdf285ddd8dee229fd84ea57df9080f
Original file line number Diff line number Diff line change 44
55- <code ><a href =" ./src/resources/shared.ts " >ErrorDetail</a ></code >
66- <code ><a href =" ./src/resources/shared.ts " >ErrorEvent</a ></code >
7+ - <code ><a href =" ./src/resources/shared.ts " >ErrorModel</a ></code >
78- <code ><a href =" ./src/resources/shared.ts " >LogEvent</a ></code >
89
910# Deployments
Original file line number Diff line number Diff line change @@ -816,5 +816,6 @@ export declare namespace Kernel {
816816
817817 export type ErrorDetail = API . ErrorDetail ;
818818 export type ErrorEvent = API . ErrorEvent ;
819+ export type ErrorModel = API . ErrorModel ;
819820 export type LogEvent = API . LogEvent ;
820821}
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- import * as Shared from './shared' ;
4-
53export interface ErrorDetail {
64 /**
75 * Lower-level error code providing more specific detail
@@ -18,7 +16,7 @@ export interface ErrorDetail {
1816 * An error event from the application.
1917 */
2018export interface ErrorEvent {
21- error : ErrorEvent . Error ;
19+ error : ErrorModel ;
2220
2321 /**
2422 * Event type identifier (always "error").
@@ -31,25 +29,23 @@ export interface ErrorEvent {
3129 timestamp : string ;
3230}
3331
34- export namespace ErrorEvent {
35- export interface Error {
36- /**
37- * Application-specific error code (machine-readable)
38- */
39- code : string ;
32+ export interface ErrorModel {
33+ /**
34+ * Application-specific error code (machine-readable)
35+ */
36+ code : string ;
4037
41- /**
42- * Human-readable error description for debugging
43- */
44- message : string ;
38+ /**
39+ * Human-readable error description for debugging
40+ */
41+ message : string ;
4542
46- /**
47- * Additional error details (for multiple errors)
48- */
49- details ?: Array < Shared . ErrorDetail > ;
43+ /**
44+ * Additional error details (for multiple errors)
45+ */
46+ details ?: Array < ErrorDetail > ;
5047
51- inner_error ?: Shared . ErrorDetail ;
52- }
48+ inner_error ?: ErrorDetail ;
5349}
5450
5551/**
You can’t perform that action at this time.
0 commit comments