Fork me on GitHub

Is there a recommended way in mount to handle a situation where the :start initialization of a state throws an exception?


@manderson: depends on what behavior you need. in case the whole app should fail fast, nothing is really needed, as it would throw while starting a state. In case you need to do something on failure you can wrap a start function in try/catch. there is an ongoing discussion here: with some more details


Ok, makes sense. Thanks for the link; I'll read through that.


sure, let me know if you have any more questions