This component stack may not be useful in most cases, but having it in the report is harmless.
I use String(metadata.error) to suppress the false-positive no-base-to-string lint error. metadata.error is an instance of Error in most cases, but we specify the type as Record<string, unknown> for reasons that I don't know of.
This component stack may not be useful in most cases, but having it in the report is harmless.
I use
String(metadata.error)
to suppress the false-positiveno-base-to-string
lint error.metadata.error
is an instance of Error in most cases, but we specify the type asRecord<string, unknown>
for reasons that I don't know of.