add GetErrorInfo
add GetErrorInfo
fix display of errorInfo