I want to stop the app start up from an initializer. Something like if a config isn't present, stop server/console, etc. Also send a message in order to explain the error.
Is there a way to do that?
I looked into initialization events but I cannot make it happen.
Thanks in advance.