Function: error-type-p

error-type-p is a byte-compiled function defined in subr.el.gz.

Signature

(error-type-p SYMBOL)

Documentation

Return non-nil if SYMBOL is a condition type.

View in manual

Probably introduced at or before Emacs version 31.1.

Aliases

tramp-compat-error-type-p

Source Code

;; Defined in /usr/src/emacs/lisp/subr.el.gz
(defun error-type-p (symbol)
  "Return non-nil if SYMBOL is a condition type."
  (get symbol 'error-conditions))