Skip to content

Variable: CommandResolutionErrorKeys ​

Command resolution error resource keys.

These errors describe an ambiguity or inconsistency while choosing a command from arguments. They are kept separate from CommandNotFoundError so consumers can distinguish a typo from an input whose command interpretation is not unique.

Signature ​

ts
export const CommandResolutionErrorKeys = {
  ambiguous: 'err:cmd:ambiguous',
  inconsistentOptions: 'err:cmd:inconsistent-options',
  lazySchemaMismatch: 'err:cmd:lazy-schema-mismatch'
} as const

Released under the MIT License.