add error class and its transmission code
v0.0.7