Skip to content

BedErrorCode

Mojo struct 🡭

@register_passable_trivial
struct BedErrorCode

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

  • OK = BedErrorCode(0)
  • INT_EMPTY = BedErrorCode(1)
  • INT_INVALID = BedErrorCode(2)
  • STRAND_INVALID = BedErrorCode(3)
  • SCORE_RANGE = BedErrorCode(4)
  • RGB_FORMAT = BedErrorCode(5)
  • RGB_RANGE = BedErrorCode(6)
  • FIELD_COUNT = BedErrorCode(7)
  • BLOCK_INVALID = BedErrorCode(8)
  • 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