Version: v0.7.0 - Beta.  We welcome contributors & feedback.

Error Pages


When an error occurs, THT tries to help you can quickly figure out what went wrong and how to fix it.

Error messages are written in a clear and direct style, and are presented in a fullscreen web page.

Example compiler error:

Contextual Help

Runtime errors include a formatted stack strace, with a summary of the arguments passed to each function.

If possible, THT provides suggestions and links to relevant documentation.

Error Page Security 

Limited Access

Error pages are only displayed if any of the following is true:

Othwerwise, THT will display a general error message and log the error information to data/files/app.log.


To limit the exposure of sensitive directory paths, and also improve readability, all paths are relative to the app root.

// Example path:

// Converted to:


For basic troubleshooting, output from any print statements will be appended to the bottom of the error page.


If sendErrors is set to true in your config/app.jcon, anonymous error information will be sent to

This will help the THT developers fix bugs and find patterns that can further improve the usability of the language.