Table of Contents

Class InvalidArgumentTypeException

Namespace
LfrlAnvil.Reactive.Exceptions
Assembly
LfrlAnvil.Reactive.Core.dll

Represents an error that occurred due to an invalid argument type.

public class InvalidArgumentTypeException : ArgumentException, ISerializable
Inheritance
InvalidArgumentTypeException
Implements
Inherited Members

Constructors

InvalidArgumentTypeException(object?, Type, string)

Creates a new InvalidArgumentTypeException instance.

public InvalidArgumentTypeException(object? argument, Type expectedType, string paramName)

Parameters

argument object

Invalid argument.

expectedType Type

Expected type.

paramName string

Exception's parameter name.

Properties

Argument

Invalid argument.

public object? Argument { get; }

Property Value

object

ExpectedType

Expected type.

public Type ExpectedType { get; }

Property Value

Type