Files
project-reset/Packages/com.singularitygroup.hotreload/Runtime/SymbolResolvingFailedException.cs
2025-03-12 14:22:16 -04:00

15 lines
573 B
C#

#if ENABLE_MONO && (DEVELOPMENT_BUILD || UNITY_EDITOR)
using System;
using SingularityGroup.HotReload.DTO;
namespace SingularityGroup.HotReload {
internal class SymbolResolvingFailedException : Exception {
public SymbolResolvingFailedException(SMethod m, Exception inner)
: base($"Unable to resolve method {m.displayName} in assembly {m.assemblyName}", inner) { }
public SymbolResolvingFailedException(SType t)
: base($"Unable to resolve type with name: {t.typeName} in assembly {t.assemblyName}") { }
}
}
#endif