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(Int8(0))INT_EMPTY = GtfErrorCode(Int8(1))INT_INVALID = GtfErrorCode(Int8(2))STRAND_INVALID = GtfErrorCode(Int8(3))PHASE_INVALID = GtfErrorCode(Int8(4))FIELD_COUNT = GtfErrorCode(Int8(5))COORD_ZERO = GtfErrorCode(Int8(6))MISSING_GENE_ID = GtfErrorCode(Int8(7))MISSING_TRANSCRIPT_ID = GtfErrorCode(Int8(8))
Fields
Section titled “Fields”- value (
Int8)
Implemented traits
Section titled “Implemented traits”AnyType, Copyable, Deinitable, Equatable, ImplicitlyCopyable, Movable, RegisterPassable, TrivialRegisterPassable
Methods
Section titled “Methods”__init__
Section titled “__init__”fn def __init__(value: Int8) -> SelfArgs:
- value (
Int8)
Returns:
Self
__eq__
Section titled “__eq__”fn def __eq__(self, other: Self) -> BoolArgs:
- self (
Self) - other (
Self)
Returns:
Bool
__ne__
Section titled “__ne__”fn def __ne__(self, other: Self) -> BoolArgs:
- self (
Self) - other (
Self)
Returns:
Bool
message
Section titled “message”fn def message(self) -> StringArgs:
- self (
Self)
Returns:
String