Add INLINE declamations for foreign wrappers.
[iolib/alendvai.git] / base / conditions.lisp
blobdfb75cf0fd6d71e7d0c386857f04dbab7d2c51ff
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)))