Raxol.Core.Renderer.View.Validation (Raxol v2.0.1)

View Source

Validation functions for the View module. Extracted from the main View module to improve maintainability.

Summary

Functions

Validates layout dimensions and raises an error if invalid.

Validates view options and raises an error if invalid.

Validates view type and raises an error if invalid.

Functions

validate_layout_dimensions(dimensions)

Validates layout dimensions and raises an error if invalid.

validate_view_options(opts)

Validates view options and raises an error if invalid.

validate_view_type(type)

Validates view type and raises an error if invalid.