Check the error codes for the failed connection:
code:
use v: '\\server\share'
? 'Error '+@ERROR+' - '+@SERROR

_________________________
There are two types of vessels, submarines and targets.