'Dispatch an error given an id, code and message.
@param id error id
@param errorCode error code
@param errorMsg error message
@return None'

@error.register(object, int, int, str)
def error_1(self, id, errorCode, errorMsg):

    params = dict(id=id, errorCode=errorCode, errorMsg=errorMsg)
    self.dispatcher('error', params)
