ERRORS OFF from UI

hello, im trying not to redirect any error to be displayed in the UI,

trying
showErrorDetails = false
showErrorTraceback = false

are not validated