log4net SDK Reference |

# ErrorCode Enumeration

Defined error codes that can be passed to the Error method.

[Visual Basic]
Public Enum ErrorCode
[C#]
public enum ErrorCode

#### Remarks

Values passed to the Error method.

#### Members

Member Name | Description
--- | ---
GenericFailure | A general error
WriteFailure | Error while writing output
FlushFailure | Failed to flush file
CloseFailure | Failed to close file
FileOpenFailure | Unable to open output file
MissingLayout | No layout specified
AddressParseFailure | Failed to parse address

#### Requirements

Namespace: log4net.Core

Assembly: log4net (in log4net.dll)

#### See Also

log4net.Core Namespace