 
   off: (name, fn) =>
     unless window?
-      throw new Error 'z.server.off() called from node'
+      throw new Error 'z.server.off() called server-side'
 
     @events[name] = _.without(@events[name], fn)
 


  go: (path) =>
    unless window?
      throw new Error 'z.server.go() called from node'

    path ?= getCurrentPath(@mode)
    hasRouted = not Boolean @currentPath

        if @currentPath
          setTimeout @go

  setStatus: (@status) =>
    if window?
      throw new Error 'z.server.setStatus() called client-side'
    null

  getReq: =>
    if window?
      throw new Error 'z.server.getReq() called client-side'
    @req

  factoryToMiddleware: (factory) =>
    handleRenderError = (err, req, res, next) =>
