Error handling

Am assuming you are coming from C# background.
In C++ you can use the keywords like (try, catch).

I know many C++ programmers don`t use them, and i remember when reading some starter books back in the day.
That it was “bad practice” to use them in many cases, C++ code should not expect any errors you code to prevent them.

Ether way use regular expresions and UE_LOG macros and so on.
Thats my 2 cents on the subject anyway.