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.
Inherited Members
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
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 |