docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method IsWarningException

    IsWarningException(string, string, string)

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

    Declaration
    public bool IsWarningException(string validationTest, string validationMessage, string packageVersion)
    Parameters
    Type Name Description
    string validationTest

    Validation test display name

    string validationMessage

    Warning string, verbatim

    string packageVersion

    Version of the package this exception is for.

    Returns
    Type Description
    bool

    True if the warning is part of the validation exception list.

    IsWarningException(string, string)

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

    Declaration
    public bool IsWarningException(string validationTest, string packageVersion)
    Parameters
    Type Name Description
    string validationTest

    Validation test display name

    string packageVersion

    Version of the package this exception is for.

    Returns
    Type Description
    bool

    True if the 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)