'@param data: (Optional) See _GNTPResponse.decode()
@param errorcode: (Optional) Error code
@param errordesc: (Optional) Error Description'

def __init__(self, data=None, errorcode=None, errordesc=None):

    _GNTPBase.__init__(self, '-ERROR')
    self.requiredHeaders = ['Error-Code', 'Error-Description']
    if data:
        self.decode(data)
    if errorcode:
        self.headers['Error-Code'] = errorcode
        self.headers['Error-Description'] = errordesc
        self.add_origin_info()
