Query errors
Compilation checks syntax and bindings before execution. Use ferret check to locate a malformed expression or an undeclared variable.
Errors that depend on input or a host operation can surface during execution. A divisor can be zero, a function can receive an unsupported type, or a browser operation can fail. For a missing element, QUERY ONE returns NONE; optional member access such as title?.textContent lets the script return that absence.
Use the error handling reference for recovery and WAITFOR to choose how a wait should handle its timeout.