IDE doesn't see Error type in opensearch-go example

Describe the issue:
There are occure errors with unresolved type Error

But opensearch api see other types in package opensearchapi but not type Error

Relevant Logs or Screenshots:

Which version of opensearch-go are you using?

i copied code from example

Can you try out version 2.2?

Yes, I meant this by v2 :sweat_smile:
is it working in your computer?