nRF5 SDK v17.0.2
Error module

The Common application error handler module provides the weak function app_error_fault_handler for handling application and SoftDevice errors. If custom handing of errors is needed, app_error_fault_handler can be redefined in the application. Most example applications in the SDK use the default function.

The app_error_fault_handler has the same signature as the nrf_fault_handler_t. The error module defines its own IDs (Fault ID types) in addition to the ones defined by the SoftDevice (Fault ID types). In some cases (see the ID documentation), the uint32_t info parameter represents a pointer to a struct that has been cast.

The behavior of the default error handler depends on whether the DEBUG flag is set:

Documentation feedback | Developer Zone | Subscribe | Updated