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(Int8(0))
  • VERSION = Gff3ErrorCode(Int8(1))
  • SEQ_REGION = Gff3ErrorCode(Int8(2))
  • INT_EMPTY = Gff3ErrorCode(Int8(3))
  • INT_INVALID = Gff3ErrorCode(Int8(4))
  • STRAND_INVALID = Gff3ErrorCode(Int8(5))
  • PHASE_INVALID = Gff3ErrorCode(Int8(6))
  • FIELD_COUNT = Gff3ErrorCode(Int8(7))
  • COORD_ZERO = Gff3ErrorCode(Int8(8))
  • value (Int8)

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

fn def __init__(value: Int8) -> Self

Args:

  • value (Int8)

Returns:

Self

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

Args:

  • self (Self)
  • other (Self)

Returns:

Bool

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

Args:

  • self (Self)
  • other (Self)

Returns:

Bool

fn def message(self) -> String

Args:

  • self (Self)

Returns:

String