Updated the ErrorCode enumeration

- Added the ContextLost value.