File operations like reads and writes are inherently racy/unsafe. All downstream callers of this function are/should wrap the function call in a try/catch in the event the write is unsuccessful.
Specifically this line here should return a bool indicating success/failure and where the function actually writes here should be wrapped in a try/catch.
File operations like reads and writes are inherently racy/unsafe. All downstream callers of this function are/should wrap the function call in a try/catch in the event the write is unsuccessful.
Specifically this line here should return a bool indicating success/failure and where the function actually writes here should be wrapped in a try/catch.