warning continues by default. error stops the script unless you pass continue_on=True. Stopping raises less.LessException.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Send logs, warnings, and errors from your script back to Less.
less.log("Connected to Less")
less.info("Fetched 12 rows")
less.debug("Request payload accepted")
less.warning("Missing optional column")
less.error("Could not fetch rates") # stops the script
less.error("Non-fatal issue", continue_on=True) # logs and continues
less.warning("Stop here", continue_on=False) # stops the script
warning continues by default. error stops the script unless you pass continue_on=True. Stopping raises less.LessException.