Catch All Errors

You could potentially overwrite the DeveloperError class so it doesn’t throw the error, but a lot of the time the error is thrown because something happened that prevents it from progressing, so it’ll either probably crash in a later piece of code or have unexpected behavior.

Are you getting frequent crashes in your application?