Crate sdml_errors

source
Expand description

This crate provides the common error and diagnostics for SDML.

For passing errors the typical Error and Result types are provided.

For fine-grained reporting of model issues the diagnostics module allow for describing and emitting structured values.

Re-exports§

Modules§

  • Provides project-wide diagnostic types that describe more fine-grained error conditions..
  • Provides the project-wide Error and Result types as well as helper functions.

Structs§

  • A type that holds the source code loaded prior to parsing.

Type Aliases§

  • An opaque identifier used to index the source associated with a loaded module.
  • The mapping of module names to corresponding source code.
  • A span, in bytes, start..end for some context.