(parameters=None)
return set_error
Create an "error" behavior for server creation.

    The created server will go into the ``"ERROR"`` state immediately.

    Takes no parameters.
Create an "error" behavior for server creation.
Create an error behavior for server creation .
def create_error_status_behavior(parameters=None):
    """
    Create an "error" behavior for server creation.

    The created server will go into the ``"ERROR"`` state immediately.

    Takes no parameters.
    """
    @default_with_hook
    def set_error(server):
        server.update_status(u"ERROR")
    return set_error
def create_error_status_behavior ( parameters = None ) : @ default_with_hook def set_error ( server ) : server . update_status ( u"ERROR" ) return set_error