Project

EarthSciAST

The EarthSciML Abstract Syntax Tree format: schema, operators, coupling, and five language bindings.

Contents

This is the documentation for the older version v0.15.1. For the latest release, see v0.17.0.

schema_error (error)

Stable error · Validation

Tier: stable · Kind: error · Topic: Validation

JuliaTypeScriptPythonRustGo
not exportednot exportednot exportedSchemaErrorSchemaError

Julia

Julia does not export this error.

TypeScript

TypeScript does not export this error.

Python

Python does not export this error.

Rust

pub struct SchemaError {
    pub path: String,
    pub message: String,
    pub keyword: String,
}

A schema validation error

Source · Rust docs

Go

type SchemaError struct {
	Path    string `json:"path"`    // RFC 6901 JSON Pointer to the offending location (as reported by the schema validator)
	Message string `json:"message"` // Human-readable description
	Keyword string `json:"keyword"` // JSON Schema keyword that failed
}

SchemaError represents a JSON Schema violation

Source · Go docs