exception handling - How to stop a Vibe.D application? -


does vibe.d have build-in terminate function, when library run through static initializer? want terminate application when vibe.d throws exception when example opening file.

i have server listening using listenhttp function.

try geteventdriver().exiteventloop();, here , here.

edit: there's simpler version, standalone function vibe.core.core.exiteventloop.


Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -