struct MUX::ErrorId
- MUX::ErrorId
- Struct
- Value
- Object
Included Modules
- Protobuf::Message
Defined in:
pb-MUX/CATS_Helper.pb.crConstant 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
- .new(errnum : ErrorKind, description : String, attributes : Array(Attribute) | Nil = nil)
- .new(buf : Protobuf::Buffer)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #attributes : Array(Attribute) | Nil
- #attributes=(attributes : Array(Attribute) | Nil)
- #description : String
- #description=(description : String)
- #errnum : ErrorKind
- #errnum=(errnum : ErrorKind)
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf