Package com.helger.commons.error
Interface IErrorTextProvider
- All Known Implementing Classes:
ErrorTextProvider
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface for converting an
IError
to a printable representation.- Since:
- 8.5.1
- Author:
- Philip Helger
-
Method Summary
Modifier and TypeMethodDescriptiongetErrorText
(IError aError, Locale aContentLocale) Get the provided error as a String
-
Method Details
-
getErrorText
Get the provided error as a String- Parameters:
aError
- The error to be converted. May not benull
.aContentLocale
- The content locale to be used. May not benull
.- Returns:
- A non-
null
String.
-