Commit 7a8bda3f authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

luxi.ProtocolError: Derive from errors.LuxiError



This allows LUXI errors to be encoded and serialized.
Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent 3b01286e
......@@ -372,6 +372,12 @@ class IPAddressError(GenericError):
"""
class LuxiError(GenericError):
"""LUXI error.
"""
# errors should be added above
......
......@@ -70,7 +70,7 @@ DEF_RWTO = 60
WFJC_TIMEOUT = (DEF_RWTO - 1) / 2
class ProtocolError(errors.GenericError):
class ProtocolError(errors.LuxiError):
"""Denotes an error in the LUXI protocol."""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment