Source code for ubii.proto.v1.general.error_pb_plus

"""
@generated by codestare-proto-plus.  Do not edit manually!
"""
from builtins import (
    str,
)

from proto import (
    Field,
    MESSAGE,
    RepeatedField,
    STRING,
    module,
)

from proto.message import (
    Message,
)

from typing import (
    MutableSequence,
)


__protobuf__ = module(
    package="ubii.proto.v1.general",
    marshal="ubii.proto.v1",
    manifest={
        "Error",
        "ErrorList",
    }
)


[docs]class Error(Message): """ Attributes: title (proto.fields.Field): :obj:`~proto.fields.Field` of type :obj:`~proto.primitives.ProtoType.STRING` message (proto.fields.Field): :obj:`~proto.fields.Field` of type :obj:`~proto.primitives.ProtoType.STRING` stack (proto.fields.Field): :obj:`~proto.fields.Field` of type :obj:`~proto.primitives.ProtoType.STRING` """ title: str = Field( STRING, number=1, ) message: str = Field( STRING, number=2, ) stack: str = Field( STRING, number=3, )
[docs]class ErrorList(Message): """ Attributes: elements (proto.fields.RepeatedField): :obj:`~proto.fields.RepeatedField` of type :obj:`~.Error` """ elements: MutableSequence[Error] = RepeatedField( MESSAGE, number=1, message=Error, )