defined error codes for session-server