Small changes to DYNAMIC-BUFFER conditions.
[iolib.git] / base / conditions.lisp
blob9fe8d347aed34e25e33432632e5c84489bcebade
1 ;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; indent-tabs-mode: nil -*-
2 ;;;
3 ;;; --- Error conditions.
4 ;;;
6 (in-package :iolib.base)
8 ;;;-------------------------------------------------------------------------
9 ;;; Bugs
10 ;;;-------------------------------------------------------------------------
12 (define-condition bug (error)
13 ((message :reader message :initarg :message))
14 (:report (lambda (condition stream)
15 (format stream "~A~%. This seems to be a bug in IOlib. ~
16 Please report on iolib-devel@common-lisp.net."
17 (message condition)))))
19 (defun bug (control &rest args)
20 (error 'bug :message (format nil "~?" control args)))