def error_page_namespace(k, v):
 if (k != 'default'):
  k = int(k)
 cherrypy.serving.request.error_page[k] = v

def error_page_namespace ( k , v ) : if ( k != 'default' ) : k = int ( k ) cherrypy . serving . request . error_page [ k ] = v
attach error pages declared in config .