summaryrefslogtreecommitdiff
path: root/src/ste/RuntimeError.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/ste/RuntimeError.php')
-rw-r--r--src/ste/RuntimeError.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/ste/RuntimeError.php b/src/ste/RuntimeError.php
new file mode 100644
index 0000000..ff3b26d
--- /dev/null
+++ b/src/ste/RuntimeError.php
@@ -0,0 +1,13 @@
+<?php
+
+// File: RuntimeError.php
+
+// Namespace: kch42\ste
+namespace kch42\ste;
+
+/*
+ * Class: RuntimeError
+ * An Exception that a tag can throw, if a non-fatal runtime error occurred.
+ * By default this will return in no output at all. But if <STECore::$mute_runtime_errors> is false, this will generate a error message instead of the tag's output.
+ */
+class RuntimeError extends \Exception {}