Check the version is using DietPi

How to check the version using DietPi, my device is reporting an error, thanks

hi,

what do you mean by reporting an error. Can you show the error message?

DietPi version | cat /DietPi/dietpi/.version