chickadee » check-errors » make-bad-argument-message

make-bad-argument-message #!optional ARGNAMprocedure

Returns an argument type error message for the, optional, ARGNAM.

Example:

(make-bad-argument-message "count")
;=> "bad `count' argument"
(make-bad-argument-message)
;=> "bad argument"