An uncertainty-informed framework for trustworthy fault diagnosis in safety-critical applications. (January 2023)