docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method IsErrorException

    IsErrorException(string, string, string)

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

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

    Validation test display name

    string validationMessage

    Error string, verbatim

    string packageVersion

    Version of the package this exception is for.

    Returns
    Type Description
    bool

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

    IsErrorException(string, string)

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

    Declaration
    public bool IsErrorException(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 error 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)