/** * Fetches the defined 403 path for the current route. * * @return string */ public static function get403Path() { // TODO: get 403 from default route if (!isset(self::$current_route)) { throw new vB_Exception_Router('403 path requested for current route but no current route has been resolved.'); } return self::$current_route->get403Path(); }