Skip to content
ModularityKit.Mutator ModularityKit.Mutator Docs
  • Home
  • Core
  • Governance
  • Redis
  • API
Search Results for

    Show / Hide Table of Contents

    Class InvalidMutationException

    Exception thrown when a mutation is invalidly constructed.

    Inheritance
    object
    Exception
    MutationException
    InvalidMutationException
    Implements
    ISerializable
    Inherited Members
    MutationException.ExecutionId
    Exception.GetBaseException()
    Exception.GetType()
    Exception.ToString()
    Exception.Data
    Exception.HelpLink
    Exception.HResult
    Exception.InnerException
    Exception.Message
    Exception.Source
    Exception.StackTrace
    Exception.TargetSite
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.ReferenceEquals(object, object)
    Namespace: ModularityKit.Mutator.Abstractions.Exceptions
    Assembly: ModularityKit.Mutator.dll
    Syntax
    public sealed class InvalidMutationException : MutationException, ISerializable
    Remarks

    InvalidMutationException is thrown when a mutation violates construction rules, such as missing required properties, invalid data types, or broken mutator contracts.

    It can occur during mutation creation or pre-execution validation.

    Constructors

    | Edit this page View Source

    InvalidMutationException(string, Exception?)

    Exception thrown when a mutation is invalidly constructed.

    Declaration
    public InvalidMutationException(string message, Exception? innerException = null)
    Parameters
    Type Name Description
    string message

    A descriptive message explaining why the mutation is invalid.

    Exception innerException

    Optional inner exception that caused this exception.

    Remarks

    InvalidMutationException is thrown when a mutation violates construction rules, such as missing required properties, invalid data types, or broken mutator contracts.

    It can occur during mutation creation or pre-execution validation.

    Implements

    ISerializable
    • Edit this page
    • View Source
    In this article
    ModularityKit.Mutator Generated from XML docs and published from main. Back to top