docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ValidationExceptionManager

    Class that manages the validation exceptions for this package.

    Inheritance
    object
    ValidationExceptionManager
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: UnityEditor.PackageManager.ValidationSuite
    Assembly: solution.dll
    Syntax
    public class ValidationExceptionManager

    Constructors

    Name Description
    ValidationExceptionManager(string)

    Constructor for the Validation Exception Manager

    Properties

    Name Description
    HasErrorExceptions

    Will return true if the package contains 1 or more validation error exceptions

    HasExceptions

    Will return true if the package contains 1 or more validation exceptions

    HasWarningExceptions

    Will return true if the package contains 1 or more validation warning exceptions

    Methods

    Name Description
    CheckValidationExceptions(string)

    Checks the validity of the validation exception list.

    IsErrorException(string, string)

    Tests whether a test class has been exceptioned completely with respect to errors.

    IsErrorException(string, string, string)

    Tests whether the requested error is part of the validation exception list.

    IsWarningException(string, string)

    Tests whether a test class has been exceptioned completely with respect to warnings.

    IsWarningException(string, string, string)

    Tests whether the requested warning is part of the validation exception list.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)