19 #include "app_error.h"    26 #include "stdnoreturn.h"    28 noreturn 
void app_error_handler(uint32_t error_code, uint32_t line_num, 
const uint8_t * p_file_name)
    31     log_printf(
"Error of 0x%X at %d in  %s\n", error_code, line_num, p_file_name);
    41     log_printf(
"Error of 0x%X ID at 0x%X PC with 0x%X info\n", 
id, pc, info);
 void app_error_fault_handler(uint32_t id, uint32_t pc, uint32_t info)
Callback to be invoked in case of fault i.e. unrecoverable errors occurring within the application or...
 
void app_error_handler(uint32_t error_code, uint32_t line_num, const uint8_t *p_file_name)
Function called when an error occurs. If DEBUG flag is present the error information is printed on lo...