changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > core / lisp/lib/net/condition.lisp

changeset 698: 96958d3eb5b0
parent: 4d8451fe5423
author: Richard Westhaver <ellis@rwest.io>
date: Fri, 04 Oct 2024 22:04:59 -0400
permissions: -rw-r--r--
description: fixes
1 ;;; net/condition.lisp --- Network Conditions
2 
3 ;; Generic network condition handling for Lisp.
4 
5 ;;; Code:
6 (in-package :net/core)
7 
8 (define-condition net-condition () ())
9 (define-condition codec-condition (net-condition) ())
10 (define-condition protocol-condition (net-condition) ())
11 
12 (define-condition net-error (net-condition std-error) ())
13 (define-condition net-warning (net-condition std-warning) ())
14 (define-condition codec-error (codec-condition net-error) ())
15 (define-condition codec-warning (codec-condition net-warning) ())
16 (define-condition protocol-warning (protocol-condition net-warning) ())
17 (define-condition protocol-error (protocol-condition net-error) ())
18 ;; sb-bsd-sockets:socket-error
19 ;; sb-thread:thread-error