From a1f7bf2d9e5610075fbd898cdf52f4f8373741f2 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 16 Mar 2020 00:44:31 +0100 Subject: Add disk writer tool. --- src/lib/exceptions.cc | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'src/lib/exceptions.cc') diff --git a/src/lib/exceptions.cc b/src/lib/exceptions.cc index ba3d4a05c..d394ad4b2 100644 --- a/src/lib/exceptions.cc +++ b/src/lib/exceptions.cc @@ -114,3 +114,20 @@ GLError::GLError (char const * last, int e) { } + +CopyError::CopyError (string m, int n) + : runtime_error (String::compose("%1 (%2)", m, n)) + , _message (m) + , _number (n) +{ + +} + +VerifyError::VerifyError (string m, int n) + : runtime_error (String::compose("%1 (%2)", m, n)) + , _message (m) + , _number (n) +{ + +} + -- cgit v1.2.3