QueryValidationError
Criteria that could not be evaluated, rejected before any command ran.
Source and package
- Qualified name
-
QueryValidation Error - Module
- errors
- Package
- libtmux
- Source
- packages/libtmux/src/errors.ts
-
Description#
This is a caller mistake rather than a tmux one, so nothing was sent and nothing needs undoing.
QueryValidationError.reasonseparates a bad id from bad criteria, and the path locates the field.
Members4#
- code: Lib
Tmux attributeError Code - constructor method
- path: readonly (string | number)[] attribute Where in the criteria the problem is, as keys and array indices.
- reason: Query
Validation attributeReason
Guides#
Pages that discuss QueryValidationError.