Skip to content

Class ExcelErrorValueException

Namespace: OfficeOpenXml.FormulaParsing.Exceptions
Assembly: EPPlus.dll

This Exception represents an Excel error. When this exception is thrown from an Excel function, the ErrorValue code will be set as the value of the parsed cell.

public class ExcelErrorValueException : Exception, ISerializable

Inheritance

object ← Exception ← ExcelErrorValueException

Implements

ISerializable

Inherited Members

Exception.Data
Exception.GetBaseException()
Exception.GetType()
Exception.HelpLink
Exception.HResult
Exception.InnerException
Exception.Message
Exception.SerializeObjectState
Exception.Source
Exception.StackTrace
Exception.TargetSite
Exception.ToString()
object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()

Constructors

ExcelErrorValueException(ExcelErrorValue)

Constructor

public ExcelErrorValueException(ExcelErrorValue error)

Parameters

error ExcelErrorValue

The error value causing the exception

ExcelErrorValueException(string, ExcelErrorValue)

Constructor

public ExcelErrorValueException(string message, ExcelErrorValue error)

Parameters

message string

An error message for the exception

error ExcelErrorValue

The error value causing the exception

ExcelErrorValueException(eErrorType)

Constructor

public ExcelErrorValueException(eErrorType errorType)

Parameters

errorType eErrorType

The error type causing the exception

Properties

ErrorValue

The error value

public ExcelErrorValue ErrorValue { get; }

Property Value

ExcelErrorValue

See Also

ExcelErrorValue