Home > @wixc3/mostly-equal > errorString
Signature:
errorString: (expected: unknown, actual: unknown, maxDepth: number, formatters: Formatter[], depth: number, path: LookupPath, passedMap: Map<unknown, LookupPath>, passedSet: Set<unknown>) => ErrorOrTextOrExpect
Parameter | Type | Description |
---|---|---|
expected | unknown | |
actual | unknown | |
maxDepth | number | |
formatters | [Formatter](/core3-utils/mostly-equal.formatter.html)\[\] | |
depth | number | |
path | [LookupPath](/core3-utils/mostly-equal.lookuppath.html) | |
passedMap | Map<unknown, [LookupPath](/core3-utils/mostly-equal.lookuppath.html)> | |
passedSet | Set<unknown> |
Returns: