configureFieldErrorText function

Module @runic-artifex/views in @runic-artifex/views 0.23.0

function configureFieldErrorText(text: FieldErrorText): () => void;

Sets the application's text for field errors (FieldState.error): resolveText, the framework packages' useText and runicText, and describeBridgeError show a FieldError with it, in the window's language. Returns a function that removes it. A later call replaces an earlier one. Per instance, like configureTranslatedText.