added SAStorage_ErrorManager for more flexible error handling