Skip to main content

Function: formatMessageForArgumentScannerError()

formatMessageForArgumentScannerError(error, formatter): string

Utility method for customizing message of argument scanner error

Parameters

error: ArgumentScannerError

Error thrown by argument scanner

formatter: Partial<ArgumentScannerErrorFormatter>

For all keys specified, controls message formatting for that specific subtype of error

Returns

string

Defined in

packages/core/src/parameter/scanner.ts:60