Skip to content

Function: hasPriorityValidationError()

Check whether validation errors should be handled before version, help, or command execution.

Signature

ts
export function hasPriorityValidationError(error: AggregateError | undefined): boolean

Parameters

NameTypeDescription
errorAggregateError | undefinedAn aggregate validation error

Returns

booleantrue if the validation error must be handled with priority

Released under the MIT License.