No, you can attempt the call and tie a function to the error handler callback. You may need generic JavaScript errorhandling too to capture an exception.
You cant directly but there are methods to configure this using the session details of a iser that contain his rights. Contact me if you want to know more.