Problem
Currently ChatError does not propagate across the FFI. This makes debugging difficult as critical information is missing.
Desired State
- More information is available for developers consuming the library,
- Easier to maintain ErrorTypes. Currently both ChatError and ErrorCodes require updates when adding new class of errors.