主题
mermaid.ParseOptions
• Optional suppressErrors: boolean
Optional
boolean
If true, parse will return false instead of throwing error when the diagram is invalid. The parseError function will not be called.
true
false
parseError
packages/mermaid/src/types.ts:59