error!() { /* proc-macro */ }
Expand description
Print a build error and terminate the process.
It should be noted that the error will be printed BEFORE the main function
is called, and as such this should NOT be thought analogous to println!
or
similar utilities.
§Example
esp_build::error! {"
ERROR: something really bad has happened!
"}
// Process exits with exit code 1