-
Notifications
You must be signed in to change notification settings - Fork 49
Closed
Description
I'm running JavaScript in my Entity Framework seed method. When an exception occurs, it throws
Type 'JavaScriptEngineSwitcher.Core.JsEngineLoadException' in assembly 'JavaScriptEngineSwitcher.Core, Version=2.0.3.0, Culture=neutral, PublicKeyToken=c608b2a8cc9e4472' is not marked as serializable.
So make exceptions serializable. See
https://blogs.msdn.microsoft.com/agileer/2013/05/17/the-correct-way-to-code-a-custom-exception-class/
Daniel15
Metadata
Metadata
Assignees
Labels
No labels