Class DefaultErrorMessageStrategy
- Namespace
- Steeltoe.Integration.Support
- Assembly
- Steeltoe.Integration.IntegrationBase.dll
public class DefaultErrorMessageStrategy : IErrorMessageStrategy
- Inheritance
-
DefaultErrorMessageStrategy
- Implements
- Inherited Members
Methods
BuildErrorMessage(Exception, IAttributeAccessor)
Build the error message
public ErrorMessage BuildErrorMessage(Exception exception, IAttributeAccessor attributes)
Parameters
exception
Exceptionattributes
IAttributeAccessorthe context to use
Returns
- ErrorMessage
the error message