make-condition
(make-condition type &key initargs...)
指定した型のコンディションオブジェクト(スロットを initarg から埋めた CLOS サブセットインスタンス。未指定スロットは :initform を取ります)を構築します。型は define-condition で定義された型か simple-error などの組み込み型を指す、リテラルのクォートされたシンボルでなければなりません。インスタンスは error/signal(コンディションオブジェクト designator)に渡せ、typecase でテストできます。
CL-USER> (error (make-condition 'simple-error :format-control "something failed"))
Error: something failed