Defining new constants to replace hardcoded strings

DISPLAY_ERROR_HALT   = 'halt'
DISPLAY_ERROR_INLINE = 'inline'
DISPLAY_ERROR_NONE   = 'none'

Fixes #16062