Error generator to enable integration testing of salt wheel error handling
If name is None Then return empty dict
Otherwise raise an exception with __name__ from name, message from message
CLI Example:
salt-wheel error
salt-wheel error.error name="Exception" message="This is an error."
Docs for previous releases are available on salt.rtfd.org.
Latest Salt release: 2014.7.1
22.31.3. salt.wheel.file_roots
Upcoming SaltStack events, webinars and local meet ups and user groups.