improve v8 errors api support