Update to handle new and removed error codes.
Update to handle new and removed error codes.

realm/realm-core,realm/realm-core,realm/realm-object-store,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-object-store,realm/realm-core,realm/realm-core,realm/realm-object-store