KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm trying to deserialize object derived from Exception class: [Serializable] public class Error : Exception, ISerializable { public string ErrorMessage { get; set; } public Error() { } } Error error = JsonConvert.DeserializeObject< Error >("json error obj string"); It gives me error: ISerializable type 'type' does not have a valid constructor.
Tags (comma-separated)
Save Edits
Cancel