1 /// Defines exceptions used and thrown by the library 2 module dli.exceptions; 3 4 import std.exception; 5 6 /// 7 public class InvalidItemException : Exception 8 { 9 /// 10 mixin basicExceptionCtors; 11 } 12 13 /// 14 public class InvalidKeyException : Exception 15 { 16 /// 17 mixin basicExceptionCtors; 18 } 19 20 /// 21 public class InvalidMenuStatusException : Exception 22 { 23 /// 24 mixin basicExceptionCtors; 25 } 26 27 /// 28 public class ItemBoundException : Exception 29 { 30 /// 31 mixin basicExceptionCtors; 32 }