Provide an error display function to show errors in a tooltip.

;; Setup

(with-eval-after-load 'flycheck
  (flycheck-pos-tip-mode))