IamErrorLogger typedef
IamErrorLogger =
void Function(Object error, [StackTrace? stackTrace, String? context])
Signature for a host-supplied error logger. Kept available so existing
callers that already store bindings.logError as a tear-off can keep
passing it directly into the parser.
Implementation
typedef IamErrorLogger =
void Function(
Object error, [
StackTrace? stackTrace,
String? context,
]);