From f9cc6d602ef0c895dec79d48885da4eb13fd85d3 Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Tue, 2 Jan 2024 20:55:46 +0800 Subject: [PATCH] ... ... --- src/error.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/error.cpp b/src/error.cpp index 544f5cb8..ebd11915 100644 --- a/src/error.cpp +++ b/src/error.cpp @@ -59,6 +59,7 @@ namespace pkpy{ ss << st.top().snapshot() << '\n'; st.pop(); } + // TODO: allow users to override the behavior if (!msg.empty()) ss << type.sv() << ": " << msg; else ss << type.sv(); return ss.str();