17 lines
431 B
C#
17 lines
431 B
C#
using System;
|
|
|
|
namespace RPGCoreCommon.Helpers.Exceptions
|
|
{
|
|
public class MemberNotFoundException : Exception
|
|
{
|
|
public readonly string path;
|
|
public readonly Type objType;
|
|
|
|
public MemberNotFoundException(string path, Type objType)
|
|
: base($"Property '{path}' not found in '{objType}'")
|
|
{
|
|
this.path = path;
|
|
this.objType = objType;
|
|
}
|
|
}
|
|
} |