X-Git-Url: http://dolda2000.com/gitweb/?p=lisp-utils.git;a=blobdiff_plain;f=common-net.lisp;h=10fc919ffa52673c9050d989852dd393073f15ef;hp=e17931d6da522029794b2edf0b3fd731d7764093;hb=d1cf3c66517b1f83cf465eeb1d0b44fc653cf2f8;hpb=189474f25303ecbc0c53153d87b28100fe46f19f 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)