A prompt that shows the status (OK or error) of the last expression
prompt_error(expr, value, ok, visible)
Evaluated expression.
Its value.
Whether the evaluation succeeded.
Whether the result is visible.
Other example prompts:
prompt_devtools()
,
prompt_fancy()
,
prompt_git()
,
prompt_mem()