Salt-specific exceptions should be thrown as often as possible so the various interfaces to Salt (CLI, API, etc) can handle those errors appropriately and display error messages appropriately.
salt.exceptions | Python's standard exception class hierarchy. |
Current Salt release: 2014.1.7
Docs for previous releases on salt.rtfd.org.