Add thread-safe lasterror in c-binding

Description

Add thread-safe lasterror in c-binding.

Status

Assignee

Vinod

Reporter

Vinod

Labels

None

Third Party Library Changes Required

No

Story Points

1

Priority

Low