WindowFunctions.runOrMessage

Runs a function and shows a UI message on failure and logs the error.

struct WindowFunctions
bool
runOrMessage
(
lazy void fn
,,
string message
,
string file = __FILE__
,
size_t line = __LINE__
)

Return Value

Type: bool

true if fn was successfully run or false if an exception occured.

Meta