Aligned code with R# standard
error message is more detailed