Schnittstelle LocalizedFailure
- Alle bekannten Implementierungsklassen:
ApplicationException
public interface LocalizedFailure
Describes an expected failure through a configurable message key and safe placeholders.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns the fallback template.Returns the YAML message key.Returns untrusted dynamic values that must be inserted without parsing.
-
Methodendetails
-
messageKey
String messageKey()Returns the YAML message key.- Gibt zurück:
- configured message path
-
fallbackMessage
String fallbackMessage()Returns the fallback template.- Gibt zurück:
- fallback message
-
messagePlaceholders
Returns untrusted dynamic values that must be inserted without parsing.- Gibt zurück:
- immutable placeholder map
-