This callback will be called when an unexpected event occurs, i.e. an expected element is missing in the unarchiving process.
auto archive = new XmlArchive!(); serializer.errorCallback = (SerializationException exception) { println(exception); throw exception; };
See Implementation
This callback will be called when an unexpected event occurs, i.e. an expected element is missing in the unarchiving process.