Error generator to enable integration testing of salt wheel error handling
salt.wheel.error.
error
(name=None, message='')¶If name is None Then return empty dict
Otherwise raise an exception with __name__ from name, message from message
命令行接口CLI 范例:
salt-wheel error
salt-wheel error.error name="Exception" message="This is an error."