summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorChristopher Smith <chris@jalakai.co.uk>2014-02-25 21:15:43 +0000
committerChristopher Smith <chris@jalakai.co.uk>2014-02-25 21:15:43 +0000
commitf3283f02766b2a2730b81c5a5a0b0a6240af054c (patch)
tree70cf494f0f2321aabc91dd4e2cb93c36d7c4da34 /inc
parent5b76ad9103ca8e25d29c5ce018859be6679b7b1c (diff)
downloadrpg-f3283f02766b2a2730b81c5a5a0b0a6240af054c.tar.gz
rpg-f3283f02766b2a2730b81c5a5a0b0a6240af054c.tar.bz2
change to an Exception and expect it
Diffstat (limited to 'inc')
-rw-r--r--inc/parserutils.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/parserutils.php b/inc/parserutils.php
index c12732e88..1c628a766 100644
--- a/inc/parserutils.php
+++ b/inc/parserutils.php
@@ -665,7 +665,7 @@ function p_get_renderer($mode) {
}
// fallback failed, alert the world
- trigger_error("Unable to resolve render class $rclass",E_USER_WARNING);
+ throw new Exception("Unable to resolve render class $rclass",E_USER_WARNING);
msg("No renderer '$rname' found for mode '$mode'",-1);
return null;
}