Function pest::set_error_detail

source ·
pub fn set_error_detail(enabled: bool)
Expand description

Sets whether information for more error details should be collected. This is useful for debugging parser errors (as it leads to more comprehensive error messages), but it has a higher performance cost. (hence, it’s off by default)

§Arguments

  • enabled - Whether to enable the collection for more error details.