function setError($errorcode) {$this->errorcode = $errorcode;$this->error = $this->errors[$errorcode];}}function getError($errormessage = '') {$error = $this->errorcode.$this->errormessage;return $this->$error;exit;}
/*** @link Back* @todo ..write a 500 page that actually makes sense.*/$err->setError(500);$err->getError("Internal Server Error");