Documentation
¶
Overview ¶
src/utils/error_printer.go
Index ¶
Constants ¶
View Source
const ( Reset = "\033[0m" Red = "\033[31m" Green = "\033[32m" Yellow = "\033[33m" Blue = "\033[34m" Bold = "\033[1m" Cyan = "\033[36m" )
ANSI color codes for terminal output
View Source
const MAX_REPL_HISTORY = 1000
Variables ¶
This section is empty.
Functions ¶
func PrintError ¶
func PrintError(err *object.ErrorWithTrace)
PrintError formats and prints a Carrion error with source context
func PrintParseFail ¶
PrintParseFail formats parser error information
func RegisterReplLine ¶
RegisterReplLine stores a line from REPL history for error context
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.