tari
tari copied to clipboard
Wallet FFI should support complex error types
Currently, the FFI only supports error codes but they are meaningless without the source code listing the error codes. We should add optional error return types. The create getters and setters for the errors to convert the error codes and string to char pointers so they can be queried across the FFI.