Status Codes Status Codes A sample solution as IoTDB requires registering the time series first before writing data is: try { writeData (); } catch ( SQLException...
Exception Handling Error Sub Types RangeError ReferenceError SyntaxError TypeError URIError Always use Error You don’t have to throw an error Exceptional cases Unclear wh...
Handle errors centrally. Not within middlewares One Paragraph Explainer Code Example – a typical error flow Code example – handling errors within a dedicated object Code Example...
Exit the process gracefully when a stranger comes to town One Paragraph Explainer Code example: deciding whether to crash Blog Quote: “The best way is to crash” Blog Quote: “The...
Errors Error Set Type The Global Error Set Error Union Type catch try errdefer Common errdefer Slip-Ups Merging Error Sets Inferred Error Sets Error Return Traces Implemen...
Description of the return value of the OLAP function on the BE side Description of the return value of the OLAP function on the BE side Return value name Return value Return val...
Slow Query Enable Slow Query Error Log Enable Error Log Query the error message of database Query the error of SQL Slow Query Slow query: record the SQL statement that runs...