Adding custom handling capability for session load errors