Add a way to get error and status messages from the security object