chef

https://github.com/opscode/chef

Ruby

A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure.

ReservedNames::Win32::Error.raise!

Raises the last error.  This should only be called by
Win32 API wrapper functions, and then only when wrapped
in an if() statement (since it unconditionally exits)
=== Returns
nil::: always returns nil when it does not raise
=== Raises
Chef::Exceptions::Win32APIError:::

Source | Google | Stack overflow

Edit

git clone [email protected]:opscode/chef.git

cd chef

open lib/chef/win32/error.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-ReservedNames--Win32--Error-raise--for-pr


# Commit to git

git add lib/chef/win32/error.rbgit commit -m "better docs for ReservedNames::Win32::Error.raise!"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-ReservedNames--Win32--Error-raise--for-pr

hub pull-request


# Celebrate!