From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Maxime Devos Newsgroups: gmane.lisp.guile.user Subject: Re: Exception handling - symbol for encoding exception type? Date: Tue, 08 Mar 2022 19:22:37 +0100 Message-ID: <4854aac45b6782cfa17fe60a4798f95c89e0dfce.camel@telenet.be> References: <18366d41-ee52-9122-997e-cd18b04ece3f@posteo.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-ZFKMGWn+B2JACTZ/wNnY" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14138"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Evolution 3.38.3-1 To: Zelphir Kaltstahl , guile-user Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Tue Mar 08 19:28:08 2022 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nReZ5-0003Re-A6 for guile-user@m.gmane-mx.org; Tue, 08 Mar 2022 19:28:07 +0100 Original-Received: from localhost ([::1]:56346 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nReZ4-0003bt-8j for guile-user@m.gmane-mx.org; Tue, 08 Mar 2022 13:28:06 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:38304) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nReTr-0003Wb-Lc for guile-user@gnu.org; Tue, 08 Mar 2022 13:22:43 -0500 Original-Received: from [2a02:1800:120:4::f00:13] (port=42210 helo=baptiste.telenet-ops.be) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nReTp-0003b3-MS for guile-user@gnu.org; Tue, 08 Mar 2022 13:22:43 -0500 Original-Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by baptiste.telenet-ops.be with bizsmtp id 3uNd2700K4UW6Th01uNezP; Tue, 08 Mar 2022 19:22:38 +0100 In-Reply-To: <18366d41-ee52-9122-997e-cd18b04ece3f@posteo.de> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1646763758; bh=dsIoiFEA81vC/uu0Un21Z4tczkCqpX0u5vIsHHq9Kcw=; h=Subject:From:To:Date:In-Reply-To:References; b=XZnSetw1EEBQrRT/pIv4fMiV6Prrzwa+CasePdEpVOU9ry5/UP1WDFYD4wEkRCn1A QE25RSk/nnv1pJbbawNmKlKA3XY+gFlNmfiB/sU3X/SptGY2zPlhWOqzPybxSty/kp 2arsyFkiZAQ6n+y3/eYBcGrgnNTwaGmynBdyh1P39g/Nu0Ols6I2OGtxPG8yHwW+So SZAmmv4Di73NEuuizemZ8eK7RLEO9Ls6zXEE8c0ntkH3cHTLDSmWbeHbh2kiKKEour 6wbooEh2hSYGzdACbE72fI4n3LMNIVdvD6d3NyXuqB4IU9fTjQPgUsPrjEVTGmzsU2 DTfYz3roqiaww== X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a02:1800:120:4::f00:13 (failed) Received-SPF: pass client-ip=2a02:1800:120:4::f00:13; envelope-from=maximedevos@telenet.be; helo=baptiste.telenet-ops.be X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:18166 Archived-At: --=-ZFKMGWn+B2JACTZ/wNnY Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Zelphir Kaltstahl schreef op di 08-03-2022 om 17:11 [+0000]: > and that one should not try to create additional types? Or > is the idea to encode more specifics into the &message? Nothing is stopping you from including both a descriptive error &message and an easily catchable and machine-readable &some-domain- specific-exception. Greetings, Maxime --=-ZFKMGWn+B2JACTZ/wNnY Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYiee7RccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7srqAP9w05W7Q6NIKcO50KWI0JSl82yH gzHao2K60+uTCWj0KgD9HiNXgsdwVThjZe+qtna9cq7PTe0YAqt/8Ryaqnz3Dgk= =vmP2 -----END PGP SIGNATURE----- --=-ZFKMGWn+B2JACTZ/wNnY--