Show / Hide Table of Contents

Class ErrorHandlingFunction

Base class for functions that handles an error that occurs during the normal execution of the function. If an exception occurs during the Execute-call that exception will be caught by the compiler, then the HandleError-method will be called.

Inheritance
System.Object
ExcelFunction
ErrorHandlingFunction
Inherited Members
ExcelFunction.Execute(IEnumerable<FunctionArgument>, ParsingContext)
ExcelFunction.BeforeInvoke(ParsingContext)
ExcelFunction.IsLookupFuction
ExcelFunction.GetFirstValue(IEnumerable<FunctionArgument>)
ExcelFunction.ValidateArguments(IEnumerable<FunctionArgument>, Int32, eErrorType)
ExcelFunction.ValidateArguments(IEnumerable<FunctionArgument>, Int32)
ExcelFunction.ArgToAddress(IEnumerable<FunctionArgument>, Int32)
ExcelFunction.ArgToAddress(IEnumerable<FunctionArgument>, Int32, ParsingContext)
ExcelFunction.ArgToInt(IEnumerable<FunctionArgument>, Int32)
ExcelFunction.ArgToString(IEnumerable<FunctionArgument>, Int32)
ExcelFunction.ArgToDecimal(Object)
ExcelFunction.ArgToDecimal(IEnumerable<FunctionArgument>, Int32)
ExcelFunction.ArgToRangeInfo(IEnumerable<FunctionArgument>, Int32)
ExcelFunction.Divide(Double, Double)
ExcelFunction.IsNumericString(Object)
ExcelFunction.IsInteger(Object)
ExcelFunction.ArgToBool(IEnumerable<FunctionArgument>, Int32)
ExcelFunction.ThrowArgumentExceptionIf(Func<Boolean>, String)
ExcelFunction.ThrowArgumentExceptionIf(Func<Boolean>, String, Object[])
ExcelFunction.ThrowExcelErrorValueException(eErrorType)
ExcelFunction.ThrowExcelErrorValueException(ExcelErrorValue)
ExcelFunction.ThrowExcelErrorValueExceptionIf(Func<Boolean>, eErrorType)
ExcelFunction.IsNumeric(Object)
ExcelFunction.IsBool(Object)
ExcelFunction.IsString(Object, Boolean)
ExcelFunction.AreEqual(Double, Double)
ExcelFunction.ArgsToDoubleEnumerable(IEnumerable<FunctionArgument>, ParsingContext)
ExcelFunction.ArgsToDoubleEnumerable(Boolean, Boolean, IEnumerable<FunctionArgument>, ParsingContext)
ExcelFunction.ArgsToDoubleEnumerable(Boolean, IEnumerable<FunctionArgument>, ParsingContext)
ExcelFunction.ArgsToDoubleEnumerableZeroPadded(Boolean, ExcelDataProvider.IRangeInfo, ParsingContext)
ExcelFunction.ArgsToObjectEnumerable(Boolean, IEnumerable<FunctionArgument>, ParsingContext)
ExcelFunction.CreateResult(Object, DataType)
ExcelFunction.CreateResult(eErrorType)
ExcelFunction.CalculateCollection(IEnumerable<FunctionArgument>, Double, Func<FunctionArgument, Double, Double>)
ExcelFunction.CheckForAndHandleExcelError(FunctionArgument)
ExcelFunction.CheckForAndHandleExcelError(ExcelDataProvider.ICellInfo)
ExcelFunction.GetResultByObject(Object)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: OfficeOpenXml.FormulaParsing.Excel.Functions
Assembly: EPPlus.dll
Syntax
public abstract class ErrorHandlingFunction : ExcelFunction

Properties

IsErrorHandlingFunction

Indicates that the function is an ErrorHandlingFunction.

Declaration
public override bool IsErrorHandlingFunction { get; }
Property Value
Type Description
System.Boolean
Overrides
ExcelFunction.IsErrorHandlingFunction

Methods

HandleError(String)

Method that should be implemented to handle the error.

Declaration
public abstract CompileResult HandleError(string errorCode)
Parameters
Type Name Description
System.String errorCode
Returns
Type Description
CompileResult
Back to top Generated by DocFX