SIGN IN SIGN UP

Add validation in `LspCommand::to_lsp` + check for inverted ranges (#22731)

#22690 logged errors and flipped the range in this case. Instead it
brings more visibility to the issue to return errors.

Release Notes:

- N/A
M
Michael Sloan committed
141393232e1804a079a6c70152045284c535d7a6
Parent: 1c223d8
Committed by GitHub <noreply@github.com> on 1/6/2025, 10:00:36 PM