log4net SDK Reference |

# IErrorHandler.Error Method (String, Exception)

Prints the error message passed as a parameter.

[Visual Basic]
Sub Error( _
ByVal message As String, _
ByVal e As Exception _
)
[C#]
void Error(
string message,
Exception e
);

#### Parameters

message
  The message associated with the error.
e
  The Exception that was thrown when the error occurred.

#### Remarks

See Error.

#### See Also

IErrorHandler Interface | log4net.Core Namespace | IErrorHandler.Error Overload List