snag/source/snapd/config/exception.d

14 lines
259 B
D

module snapd.config.exception;
import std.exception;
import std.stdio : writeln;
class SnapdConfigException : Exception {
this(string msg, string file = __FILE__, size_t line = __LINE__) {
super(msg, file, line);
}
void print() {
writeln(msg);
}
}