validate

open override fun validate(): ConfigLoader<T>

Validates the configuration object based on field annotations such as net.ririfa.yacla.annotation.Required and net.ririfa.yacla.annotation.Range.

Throws an exception if validation fails.