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 | This module is a central location for all salt exceptions |
Current Salt release: 2014.1.6
Docs for previous releases on salt.rtfd.org.