Пример #1
0
 private static string ExceptionMessage(PatchRunContext context)
 {
     return($"Error executing instructions for {(context.PatchType?.Type ?? "unknown patch type")} in {(context.Loader?.Name ?? "unknown")} loader");
 }
Пример #2
0
 internal AssetInstructionException(PatchRunContext context, Exception inner) : base(ExceptionMessage(context), inner)
 {
 }
Пример #3
0
 internal AssetInstructionException(PatchRunContext context) : base(ExceptionMessage(context))
 {
 }