public static function server($methods, $options = null, $documentation = false) { try { return new ar_connect_xmlrpcServer(ripcord::server(self::services($methods), $options, $documentation ? new ar_connect_xmlrpcDocumentor($options, $documentation) : false)); } catch (Ripcord_Exception $e) { return new ar_error($e->getMessage(), $e->getCode()); } }