Raxol.Config.Schema.Validator (Raxol v2.6.0)

View Source

Validation logic for Raxol configuration values.

Handles type checking and constraint validation.

Summary

Functions

Returns {:ok, :valid} or {:error, errors} from an error list.

Validates a configuration value against a field schema.

Validates an entire configuration map against a schema.

Functions

handle_validation_result(errors)

Returns {:ok, :valid} or {:error, errors} from an error list.

validate(value, schema)

Validates a configuration value against a field schema.

validate_map(config, schema, path \\ [])

Validates an entire configuration map against a schema.