Functional safety is considered a state of the art for electronic development. It is an important part of your product liability.
Depending on your domain different functional safety standards are applicable. For automotive applications it is the ISO 26262:2018.