struct MUX::ErrorId

Included Modules

Defined in:

pb-MUX/CATS_Helper.pb.cr

Constant Summary

FIELDS = {1 => {name: :errnum, pb_type: ErrorKind, crystal_type: ErrorKind, cast_type: ErrorKind, native: false, optional: false, repeated: false, default: nil, packed: false}, 2 => {name: :description, pb_type: :string, crystal_type: String, cast_type: String, native: true, optional: false, repeated: false, default: nil, packed: false}, 3 => {name: :attributes, pb_type: Attribute, crystal_type: Attribute, cast_type: Array(Attribute)?, native: false, optional: true, repeated: true, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(errnum : ErrorKind, description : String, attributes : Array(Attribute) | Nil = nil) #

def self.new(buf : Protobuf::Buffer) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def attributes : Array(Attribute) | Nil #

def attributes=(attributes : Array(Attribute) | Nil) #

def description : String #

def description=(description : String) #

def errnum : ErrorKind #

def errnum=(errnum : ErrorKind) #

def to_protobuf(io : IO, embedded = false) #

def to_protobuf #