+
+
+GLError::GLError (char const* message)
+ : runtime_error (message)
+{
+
+}
+
+
+CopyError::CopyError(string m, optional<int> ext4, optional<int> platform)
+ : runtime_error(String::compose("%1%2%3", m, ext4 ? String::compose(" (%1)", *ext4) : "", platform ? String::compose(" (%1)", *platform) : ""))
+ , _message (m)
+ , _ext4_number(ext4)
+ , _platform_number(platform)
+{
+
+}
+
+
+CommunicationFailedError::CommunicationFailedError ()
+ : CopyError (_("Lost communication between main and writer processes"))
+{
+
+}
+
+
+VerifyError::VerifyError (string m, int n)
+ : runtime_error (String::compose("%1 (%2)", m, n))
+ , _message (m)
+ , _number (n)
+{
+
+}
+