Go to the documentation of this file.
40 extern void (*
fatal_error)(
char const* reason, ...);
72 void (*old_fatal_error_handler)(
char const* reason, ...);
78 #endif // MIR_FATAL_H_
void fatal_error_except(char const *reason,...)
Throws an exception that will typically kill the Mir server and propagate from mir::run_mir.
~FatalErrorStrategy()
Definition: fatal.h:66
Definition: splash_session.h:24
FatalErrorStrategy(void(*fatal_error_handler)(char const *reason,...))
Definition: fatal.h:60
void fatal_error_abort(char const *reason,...)
An alternative to fatal_error_except() that kills the program and dump core as cleanly as possible.
void(* fatal_error)(char const *reason,...)
fatal_error() is strictly for "this should never happen" situations that you cannot recover from.
Copyright © 2012-2020
Canonical Ltd.
Generated on Sat Jul 18 01:32:30 UTC 2020
This documentation is licensed under the GPL version 2 or 3.