summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorBaptiste Courtois <b.courtois@criteo.com>2015-08-21 15:13:56 +0200
committerBryan McLellan <btm@loftninjas.org>2017-01-21 10:46:55 -0500
commit5b1fe5d74ceeaa89bb5153c0e43c7acecd9b3720 (patch)
treec81418de1b230e4e7c53bfbb7a2bddb38351ac89 /spec
parent8c68a52473831c14886a1568ca15eead0ea7af23 (diff)
downloadchef-5b1fe5d74ceeaa89bb5153c0e43c7acecd9b3720.tar.gz
Raise NamedSecurityInfo related exception using HR result
GetNamedSecurityInfoW & SetNamedSecurityInfoW returns error code (HR) So pass the HR code to Win32::Error.raise! to avoid this weird message: > ---- Begin Win32 API output ---- > System Error Code: 0 > System Error Message: The operation completed successfully. > ---- End Win32 API output ----
Diffstat (limited to 'spec')
0 files changed, 0 insertions, 0 deletions