- add missingArgumentException

pull/26/head
Simon G 6 years ago
parent 5ba3e8bcaf
commit d8e59284d0
  1. 19
      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; }
}
}
Loading…
Cancel
Save