Added event is case of security error to allow upper level libraries to display different errors