BedErrorCode
Mojo struct 🡭
BedErrorCode
Section titled “BedErrorCode”@register_passable_trivialstruct BedErrorCodeTrivial error code returned by low-level BED field parsers; caller raises.
Aliases
Section titled “Aliases”OK = BedErrorCode(Int8(0))INT_EMPTY = BedErrorCode(Int8(1))INT_INVALID = BedErrorCode(Int8(2))STRAND_INVALID = BedErrorCode(Int8(3))SCORE_RANGE = BedErrorCode(Int8(4))RGB_FORMAT = BedErrorCode(Int8(5))RGB_RANGE = BedErrorCode(Int8(6))FIELD_COUNT = BedErrorCode(Int8(7))BLOCK_INVALID = BedErrorCode(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