X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fexceptions.cc;h=66db9fda71d0b13414515a697b8a8acced87810b;hb=dba3b79e848c70e405e41744c40b416014e86eb8;hp=3f87a2ebe142893bba046fca25075b7423716faa;hpb=dcd9afacd67975a9e20a6d1c4b3998c2890f1c16;p=dcpomatic.git diff --git a/src/lib/exceptions.cc b/src/lib/exceptions.cc index 3f87a2ebe..66db9fda7 100644 --- a/src/lib/exceptions.cc +++ b/src/lib/exceptions.cc @@ -116,6 +116,15 @@ KDMAsContentError::KDMAsContentError () } +NetworkError::NetworkError (string s, optional 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)