amazfitbiptools/WatchFace.Parser/InvalidParameterException.cs

12 lines
319 B
C#

using System;
using WatchFace.Models;
namespace WatchFace
{
public class InvalidParameterException : Exception
{
public InvalidParameterException(Parameter paramter, string path) : base(
$"Parameter with Id: {paramter.Id} is not supported in this position: {path}."
) { }
}
}