Module error

Source
Expand description

§Error Handling

This module defines the error types and result wrappers used throughout the library. It centralizes error handling to provide consistent and meaningful error messages for various failure scenarios that might occur during glTF creation and export.

The GltfError enum covers errors from various sources including:

  • I/O operations
  • JSON serialization/deserialization
  • Invalid data or parameters
  • Texture processing issues

The module also provides a convenient Result type alias for functions that may return a GltfError.

Enums§

GltfError
Comprehensive error type for glTF export operations

Type Aliases§

Result
Result type for glTF export operations