From 5a91b37ee7dd36db52dfde1727b780ec3fa4c67d Mon Sep 17 00:00:00 2001 From: Martin Ashby Date: Sat, 23 Sep 2023 15:18:38 +0100 Subject: Add error_response Start adding connection abstraction --- src/main.zig | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/main.zig') diff --git a/src/main.zig b/src/main.zig index 24e86c4..e540256 100644 --- a/src/main.zig +++ b/src/main.zig @@ -4,12 +4,14 @@ const StartupMessage = @import("startup_message.zig"); const AuthenticationOk = @import("authentication_ok.zig"); const AuthenticationCleartextPassword = @import("authentication_cleartext_password.zig"); const PasswordMessage = @import("password_message.zig"); +const ErrorResponse = @import("error_response.zig"); pub const ProtocolError = error{ InvalidProtocolVersion, InvalidKeyValuePair, InvalidMessageLength, InvalidAuthType, + MissingField, }; pub const ClientError = error{ @@ -41,4 +43,5 @@ test { _ = AuthenticationOk; _ = AuthenticationCleartextPassword; _ = PasswordMessage; + _ = ErrorResponse; } -- cgit v1.2.3-ZIG