api / mbed / trunk / error

error

void error(const char *format,
 ...)

Report a fatal runtime error

Outputs the specified error message to stderr so it will appear via the USB serial port, and then calls exit(1) to die with the blue lights of death.

Variables

formatprintf-style format string, followed by associated variables