def error(self, code=<NUM_LIT>):
def wrapper(handler):<EOL><INDENT>self.error_handler[int(code)] = handler<EOL>return handler<EOL><DEDENT>return wrapper<EOL>
Decorator: Register an output handler for a HTTP error code