diff options
Diffstat (limited to 'src/lib/exceptions.cc')
| -rw-r--r-- | src/lib/exceptions.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/exceptions.cc b/src/lib/exceptions.cc index ebb607b94..3f87a2ebe 100644 --- a/src/lib/exceptions.cc +++ b/src/lib/exceptions.cc @@ -132,6 +132,13 @@ GLError::GLError (char const* last, int e) } +GLError::GLError (char const* message) + : runtime_error (message) +{ + +} + + CopyError::CopyError (string m, optional<int> n) : runtime_error (String::compose("%1%2", m, n ? String::compose(" (%1)", *n) : "")) , _message (m) |
