init
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user