summaryrefslogtreecommitdiff
path: root/RuntimeError.php
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2014-05-18 00:25:49 +0200
committerKevin Chabowski <kevin@kch42.de>2014-05-18 00:25:49 +0200
commitfad93506cd56b976d1413ed5adef87701df715bd (patch)
treedd4f0fca57633dcfeb66622b4c20497090bfff16 /RuntimeError.php
parenta77a2ec58947f5fc7cb4023db3b8f8298e2f01f2 (diff)
downloadste-fad93506cd56b976d1413ed5adef87701df715bd.tar.gz
ste-fad93506cd56b976d1413ed5adef87701df715bd.tar.bz2
ste-fad93506cd56b976d1413ed5adef87701df715bd.zip
One file per class and new namespace.
We should be able to use a PSR4 autoloader (like composer's) now. ste.php is still there as a fallback for old applications.
Diffstat (limited to 'RuntimeError.php')
-rw-r--r--RuntimeError.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/RuntimeError.php b/RuntimeError.php
new file mode 100644
index 0000000..e9e9b89
--- /dev/null
+++ b/RuntimeError.php
@@ -0,0 +1,10 @@
+<?php
+
+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 {}