def _throw_no_creds():
 msg = 'An infoblox server, username, and password must be specified or configured via pillar'
 raise SaltInvocationError(msg)

def _throw_no_creds ( ) : msg = 'An infoblox server, username, and password must be specified or configured via pillar' raise SaltInvocationError ( msg )
helper function to log no credentials found error .