using System;
using NodePipeline.Constants.Exceptions;

// ReSharper disable UnusedAutoPropertyAccessor.Global

namespace NodePipeline.Abstractions.Exceptions.Validation;

public class UserDefinedNodeFieldValidatorNotFoundException : Exception
{
    public UserDefinedNodeFieldValidatorNotFoundException(string validatorType)
        : base(NodeValidation.UserDefinedNodeFieldValidatorNotFoundException)
    {
        ValidatorType = validatorType;
    }

    public string ValidatorType { get; }
}