Insanely huge initial commit

This commit is contained in:
2026-02-21 17:04:05 -08:00
parent 9cdd36191a
commit 613d75914a
22525 changed files with 4035207 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
// SerializeException
using System;
using Leguar.TotalJSON.Internal;
namespace Leguar.TotalJSON {
/// <summary>
/// Exception that is thrown if something goes wrong when serializing system objects to JSON.
/// </summary>
public class SerializeException : ArgumentException {
internal SerializeException(string message)
: base(message) {
}
internal SerializeException(string message, object problemObject)
: base(message+", object type = "+problemObject.GetType()) {
}
internal SerializeException(string message, object problemObject, string paramName)
: base(message+", object type = "+problemObject.GetType(),paramName) {
}
public override string StackTrace {
get {
return InternalTools.getCleanedStackTrace(base.StackTrace);
}
}
}
}