def __init__(self, message, body=None, extra_headers=None):
super(ErrorFrame, self).__init__(cmd='<STR_LIT:error>',<EOL>headers=extra_headers or {}, body=body)<EOL>self.headers['<STR_LIT:message>'] = message<EOL>self.headers[<EOL>'<STR_LIT>'] = HeaderValue(calculator=lambda: len(self.body))<EOL>
@param body: The message body bytes.
@type body: C{str}