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.16.0. For the latest release, see v0.17.0.

slice_out_of_domain_error

Stable error · Flatten

Tier: stable · Kind: error · Topic: Flatten

JuliaTypeScriptPythonRustGo
SliceOutOfDomainErrornot exportedSliceOutOfDomainErrornot exportednot exported

Julia

struct SliceOutOfDomainError <: FlattenError
SliceOutOfDomainError(code::String, coordinate::String, value::String)
SliceOutOfDomainError(code, coordinate, value)
SliceOutOfDomainError(coordinate, value)
SliceOutOfDomainError

Defined for cross-language error-name parity; only raised if slice is ever implemented at a higher tier in the Julia flatten pipeline. Would be raised when a slice mapping’s fixed coordinate lies outside the source variable’s declared domain extent.

Source

TypeScript

TypeScript does not export this error.

Python

class SliceOutOfDomainError(FlattenError)

A slice mapping reaches outside the source variable’s domain.

Source

Rust

Rust does not export this error.

Go

Go does not export this error.