add some interfaces
Change error definition
Merge branch 'lhh_dev'