This question already has an answer here:
I'm developing a game engine in C# and I just had a question about handling exceptions correctly.
Since the engine will be used by other .NET developers, how should I handle exceptions?
What I mean is, in any other application that may be used by people outside of the development if an exception is caught, the program will try to correct it and continue running. However, with a game engine (or anything that will be used by other developers), it seems to make more sense to just throw an exception to point out to the user that they're doing something wrong, rather than just fixing it if needed.
Does this seem like a good way to approach handling exception in this case?