On this page:
current-report-configuration
report-configuration?

1.10 Configuring Error Reporting🔗ℹ

 (require syntax/parse/report-config) package: base

Added in version 8.9.0.5 of package base.

A parameter that determines parts error messages that are generated by syntax-parse for failed matches. When syntax-parse needs to report that a particular datum or literal identifier was expected, it consults the configuration in this parameter. This parameter is cross-phase persistent, which means that the parameter and its value are shared across phases.

A configuration is a hash table with the following keys:

Changed in version 8.15.0.4 of package base: Changed parameter to cross-phase persistent.

procedure

(report-configuration? v)  boolean?

  v : any/c
Checks whether v is an immutable hash table that maps each of the keys 'datum-to-what, 'datum-to-string 'identifier-to-what and 'identifier-to-string to a procedure that accepts one argument.