remove error class for deprecated conversion

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
Merge pull request #224 from miurahr/no_need_error_def

remove error class for deprecated conversion