Home / Function/ ModelErrorFromJSONTyped() — typescript-sdk Function Reference

ModelErrorFromJSONTyped() — typescript-sdk Function Reference

Architecture documentation for the ModelErrorFromJSONTyped() function in ModelError.ts from the typescript-sdk codebase.

Entity Profile

Dependency Diagram

graph TD
  cee8e521_365a_dd6a_f833_55824ce70819["ModelErrorFromJSONTyped()"]
  4357fd71_aba1_2f1b_d988_6abff8a5ee2d["ModelErrorFromJSON()"]
  4357fd71_aba1_2f1b_d988_6abff8a5ee2d -->|calls| cee8e521_365a_dd6a_f833_55824ce70819
  style cee8e521_365a_dd6a_f833_55824ce70819 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/models/ModelError.ts lines 82–95

export function ModelErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): ModelError {
    if (json == null) {
        return json;
    }
    return {
        
        'status': json['status'],
        'code': json['code'],
        'message': json['message'],
        'timestamp': (new Date(json['timestamp'])),
        'requestId': json['requestId'] == null ? undefined : json['requestId'],
        'details': json['details'] == null ? undefined : ((json['details'] as Array<any>).map(ErrorDetailsInnerFromJSON)),
    };
}

Domain

Subdomains

Frequently Asked Questions

What does ModelErrorFromJSONTyped() do?
ModelErrorFromJSONTyped() is a function in the typescript-sdk codebase.
What calls ModelErrorFromJSONTyped()?
ModelErrorFromJSONTyped() is called by 1 function(s): ModelErrorFromJSON.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free