ErrorDetailsInner.ts — typescript-sdk Source File
Architecture documentation for ErrorDetailsInner.ts, a typescript file in the typescript-sdk codebase. 2 imports, 1 dependents.
Entity Profile
Dependency Diagram
graph LR 6ffd4c80_2648_09d6_c6c5_f13df61e1543["ErrorDetailsInner.ts"] 41b6b5c2_aa5b_90b9_c373_84e0a8cd9918["runtime.ts"] 6ffd4c80_2648_09d6_c6c5_f13df61e1543 --> 41b6b5c2_aa5b_90b9_c373_84e0a8cd9918 11568abc_c5bd_8b5d_1ce1_6d595e449b9c["mapValues"] 6ffd4c80_2648_09d6_c6c5_f13df61e1543 --> 11568abc_c5bd_8b5d_1ce1_6d595e449b9c caeb26d6_13ae_b344_bfa4_9dfde784482d["ModelError.ts"] caeb26d6_13ae_b344_bfa4_9dfde784482d --> 6ffd4c80_2648_09d6_c6c5_f13df61e1543 style 6ffd4c80_2648_09d6_c6c5_f13df61e1543 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
/* tslint:disable */
/* eslint-disable */
/**
* Supermodel
* Code Graphing & Analysis API
*
* The version of the OpenAPI document: 0.9.3
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { mapValues } from '../runtime';
/**
*
* @export
* @interface ErrorDetailsInner
*/
export interface ErrorDetailsInner {
/**
* Name of the field or parameter related to the error.
* @type {string}
* @memberof ErrorDetailsInner
*/
field: string;
/**
* Description of the specific issue encountered.
* @type {string}
* @memberof ErrorDetailsInner
*/
issue: string;
/**
* Where the field resides (e.g., query, path, body).
* @type {string}
* @memberof ErrorDetailsInner
*/
location?: string;
}
/**
* Check if a given object implements the ErrorDetailsInner interface.
*/
export function instanceOfErrorDetailsInner(value: object): value is ErrorDetailsInner {
if (!('field' in value) || value['field'] === undefined) return false;
if (!('issue' in value) || value['issue'] === undefined) return false;
return true;
}
export function ErrorDetailsInnerFromJSON(json: any): ErrorDetailsInner {
return ErrorDetailsInnerFromJSONTyped(json, false);
}
export function ErrorDetailsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ErrorDetailsInner {
if (json == null) {
return json;
}
return {
'field': json['field'],
'issue': json['issue'],
'location': json['location'] == null ? undefined : json['location'],
};
}
export function ErrorDetailsInnerToJSON(value?: ErrorDetailsInner | null): any {
if (value == null) {
return value;
}
return {
'field': value['field'],
'issue': value['issue'],
'location': value['location'],
};
}
Domain
Subdomains
Functions
Types
Dependencies
Imported By
Source
Frequently Asked Questions
What does ErrorDetailsInner.ts do?
ErrorDetailsInner.ts is a source file in the typescript-sdk codebase, written in typescript. It belongs to the CodeGraph domain, IR subdomain.
What functions are defined in ErrorDetailsInner.ts?
ErrorDetailsInner.ts defines 4 function(s): ErrorDetailsInnerFromJSON, ErrorDetailsInnerFromJSONTyped, ErrorDetailsInnerToJSON, instanceOfErrorDetailsInner.
What does ErrorDetailsInner.ts depend on?
ErrorDetailsInner.ts imports 2 module(s): mapValues, runtime.ts.
What files import ErrorDetailsInner.ts?
ErrorDetailsInner.ts is imported by 1 file(s): ModelError.ts.
Where is ErrorDetailsInner.ts in the architecture?
ErrorDetailsInner.ts is located at src/models/ErrorDetailsInner.ts (domain: CodeGraph, subdomain: IR, directory: src/models).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free