Files
ihob/Assets/Extensions/TotalJSON/Scripts/Exceptions/JSONKeyAlreadyExistsException.cs
2026-02-21 17:04:05 -08:00

27 lines
526 B
C#

// JSONKeyAlreadyExistsException
using System;
using Leguar.TotalJSON.Internal;
namespace Leguar.TotalJSON {
/// <summary>
/// Exception that is thrown if JSON already contains certain key and trying to add it again.
/// </summary>
public class JSONKeyAlreadyExistsException : ArgumentException {
internal JSONKeyAlreadyExistsException(string message)
: base(message,"key") {
}
public override string StackTrace {
get {
return InternalTools.getCleanedStackTrace(base.StackTrace);
}
}
}
}