support create class extend 'Error'