hare

The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit 56c604898433990a606a415892c1718f19024649
parent 432397f6a0a91ee620be3dc0cdf0f9e7a3b8ee37
Author: Adnan Maolood <me@adnano.co>
Date:   Tue, 22 Jun 2021 14:53:53 -0400

errors::strerror: handle errors::refused

Signed-off-by: Adnan Maolood <me@adnano.co>

Diffstat:
Merrors/string.ha | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/errors/string.ha b/errors/string.ha @@ -18,5 +18,6 @@ export fn strerror(err: error) const str = match (err) { unsupported => "The requested operation is not supported", timeout => "The requested operation timed out", cancelled => "The requested operation was cancelled", + refused => "A connection attempt was refused", op: opaque => op.strerror(&op.data), };