| Modifier and Type | Method and Description |
|---|---|
static ErrorWindowI18n |
ErrorWindowI18n.create(com.vaadin.flow.function.SerializableFunction<String,String> i18nTranslator)
Creates a new instance with the provided message translation function.
|
static ErrorWindowI18n |
ErrorWindowI18n.createDefault()
Creates a new instance with the default messages.
|
| Constructor and Description |
|---|
ErrorWindow(ErrorDetails errorDetails,
ErrorWindowI18n i18n)
Constructs and initializes an ErrorWindow object with the supplied error details and internationalization.
|
ErrorWindow(Throwable cause,
ErrorWindowI18n i18n)
Constructs and initializes an ErrorWindow object with the supplied details and and default production mode.
|
ErrorWindow(Throwable cause,
String errorMessage,
boolean productionMode,
ErrorWindowI18n i18n)
Constructs and initializes an ErrorWindow object with the supplied details.
|
ErrorWindow(Throwable cause,
String errorMessage,
ErrorWindowI18n i18n)
Constructs and initializes an ErrorWindow object with the supplied details and default production mode.
|
Copyright © 2017–2023 Flowing Code. All rights reserved.