Implemented handling for some fatal errors in actions