diff --git a/auth.capnp b/auth.capnp index c83793a..2a1691f 100644 --- a/auth.capnp +++ b/auth.capnp @@ -11,7 +11,7 @@ using L10NString = import "utils.capnp".L10NString; using Session = import "main.capnp".Session; struct Response { - enum Error { + enum Reason { aborted @0; # This authentication exchange was aborted by either side. @@ -72,7 +72,7 @@ struct Response { # default set value meaning if a server fails to set any of the values, indicating some # pretty severe server bugs, it is parsed as an "aborted" error. - result @0 :Error; + reason @0 :Reason; action @1 :Action; description @2 :L10NString; # A human-readable error description that is designed to be shown to the user in case of