GtfErrorCode
Mojo struct 🡭
GtfErrorCode
Section titled “GtfErrorCode”@register_passable_trivialstruct GtfErrorCodeTrivial error code returned by low-level GTF field parsers; caller raises.
Aliases
Section titled “Aliases”OK = GtfErrorCode(0)INT_EMPTY = GtfErrorCode(1)INT_INVALID = GtfErrorCode(2)STRAND_INVALID = GtfErrorCode(3)PHASE_INVALID = GtfErrorCode(4)FIELD_COUNT = GtfErrorCode(5)
Fields
Section titled “Fields”- value (
Int8)
Implemented traits
Section titled “Implemented traits”AnyType, Copyable, Equatable, ImplicitlyCopyable, ImplicitlyDestructible, Movable, RegisterPassable, TrivialRegisterPassable
Methods
Section titled “Methods”__init__
Section titled “__init__”def __init__(value: Int8) -> SelfArgs:
- value (
Int8)
Returns:
Self
__eq__
Section titled “__eq__”def __eq__(self, other: Self) -> BoolArgs:
- self (
Self) - other (
Self)
Returns:
Bool
__ne__
Section titled “__ne__”def __ne__(self, other: Self) -> BoolArgs:
- self (
Self) - other (
Self)
Returns:
Bool
message
Section titled “message”def message(self) -> StringArgs:
- self (
Self)
Returns:
String