diff --git a/GBase.Server/Exceptions/MissingArgumentException.cs b/GBase.Server/Exceptions/MissingArgumentException.cs new file mode 100644 index 0000000..a4c3721 --- /dev/null +++ b/GBase.Server/Exceptions/MissingArgumentException.cs @@ -0,0 +1,19 @@ +// Author: Simon Gockner +// Created: 2020-02-08 +// Copyright(c) 2020 SimonG. All Rights Reserved. + +using System; + +namespace GBase.Server.Exceptions +{ + public class MissingArgumentException : Exception + { + public MissingArgumentException(string argumentPrefix) + : base($"Missing Argument for prefix {argumentPrefix}.") + { + ArgumentPrefix = argumentPrefix; + } + + public string ArgumentPrefix { get; } + } +} \ No newline at end of file