DotNet: pass error code number

This will fix #90 issue in order to display the error code and not the description