Fix font_id_map errors when importing DCP subtitles that have no
[dcpomatic.git] / src / lib / exceptions.cc
index 3f87a2ebe142893bba046fca25075b7423716faa..66db9fda71d0b13414515a697b8a8acced87810b 100644 (file)
@@ -116,6 +116,15 @@ KDMAsContentError::KDMAsContentError ()
 }
 
 
+NetworkError::NetworkError (string s, optional<string> d)
+       : runtime_error (String::compose("%1%2", s, d ? String::compose(" (%1)", *d) : ""))
+       , _summary (s)
+       , _detail (d)
+{
+
+}
+
+
 KDMError::KDMError (string s, string d)
        : runtime_error (String::compose("%1 (%2)", s, d))
        , _summary (s)