1 module esstool.errors; 2 3 class RuntimeError : Error 4 { 5 @nogc @safe pure nothrow this(string msg) 6 { 7 super(msg); 8 } 9 10 @nogc @safe pure nothrow this(string msg, string file, size_t line) 11 { 12 super(msg, file, line); 13 } 14 } 15 16 class IllegalArgumentError : RuntimeError 17 { 18 @nogc @safe pure nothrow this(string msg) 19 { 20 super(msg); 21 } 22 23 @nogc @safe pure nothrow this(string msg, string file, size_t line) 24 { 25 super(msg, file, line); 26 } 27 } 28 29 class IllegalAccessError : RuntimeError 30 { 31 @nogc @safe pure nothrow this(string msg) 32 { 33 super(msg); 34 } 35 36 @nogc @safe pure nothrow this(string msg, string file, size_t line) 37 { 38 super(msg, file, line); 39 } 40 } 41 42 class IllegalAskError : RuntimeError 43 { 44 @nogc @safe pure nothrow this(string msg) 45 { 46 super(msg); 47 } 48 49 @nogc @safe pure nothrow this(string msg, string file, size_t line) 50 { 51 super(msg, file, line); 52 } 53 } 54 55 class InstanceError : RuntimeError 56 { 57 @nogc @safe pure nothrow this(string msg) 58 { 59 super(msg); 60 } 61 62 @nogc @safe pure nothrow this(string msg, string file, size_t line) 63 { 64 super(msg, file, line); 65 } 66 } 67 68 class IllegalInstanceError : IllegalAccessError 69 { 70 @nogc @safe pure nothrow this(string msg) 71 { 72 super(msg); 73 } 74 75 @nogc @safe pure nothrow this(string msg, string file, size_t line) 76 { 77 super(msg, file, line); 78 } 79 }