Skip to content

Commit 17f5ce5

Browse files
committed
Update SaveLoadManager.cs
1 parent c10a4d9 commit 17f5ce5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Runtime/SaveLoadManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ private ISerializationMethod GetSaveLoadMethod(SerializationMethodType methodTyp
266266
#endif
267267

268268
case SerializationMethodType.Custom:
269-
throw new Exception("SaveMethod is Custom but no custom serialization method has been set.");
269+
throw new MissingComponentException("SerializationMethodType is Custom but no custom ISerializationMethod was found.");
270270
default:
271271
throw new ArgumentOutOfRangeException(nameof(methodType), methodType, "SaveLoadMethodType not supported");
272272
}

0 commit comments

Comments
 (0)