X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=common-net.lisp;h=10fc919ffa52673c9050d989852dd393073f15ef;hb=503ecdf0892775e51255891dc3298d0f98dbfed7;hp=e17931d6da522029794b2edf0b3fd731d7764093;hpb=816e0c9be877f21b450970194518a2c50c5c7da9;p=lisp-utils.git diff --git a/common-net.lisp b/common-net.lisp index e17931d..10fc919 100644 --- a/common-net.lisp +++ b/common-net.lisp @@ -107,6 +107,11 @@ (define-condition network-error (error) ()) +(define-condition simple-network-error (network-error simple-error) ()) + +(defun simple-network-error (format &rest args) + (error 'simple-network-error :format-control format :format-arguments args)) + (define-condition socket-error (socket-condition network-error) ()) (define-condition address-busy (network-error)