Skip to content

Gff3ErrorCode

Mojo struct 🡭

@register_passable_trivial
struct Gff3ErrorCode

Trivial error code returned by low-level GFF3 field parsers; caller raises.

  • OK = Gff3ErrorCode(0)
  • VERSION = Gff3ErrorCode(1)
  • SEQ_REGION = Gff3ErrorCode(2)
  • INT_EMPTY = Gff3ErrorCode(3)
  • INT_INVALID = Gff3ErrorCode(4)
  • STRAND_INVALID = Gff3ErrorCode(5)
  • PHASE_INVALID = Gff3ErrorCode(6)
  • FIELD_COUNT = Gff3ErrorCode(7)
  • value (Int8)

AnyType, Copyable, Equatable, ImplicitlyCopyable, ImplicitlyDestructible, Movable, RegisterPassable, TrivialRegisterPassable

def __init__(value: Int8) -> Self

Args:

  • value (Int8)

Returns:

Self

def __eq__(self, other: Self) -> Bool

Args:

  • self (Self)
  • other (Self)

Returns:

Bool

def __ne__(self, other: Self) -> Bool

Args:

  • self (Self)
  • other (Self)

Returns:

Bool

def message(self) -> String

Args:

  • self (Self)

Returns:

String