FaiErrorCode
Mojo struct 🡭
FaiErrorCode
Section titled “FaiErrorCode”@register_passable_trivialstruct FaiErrorCodeTrivial error code returned by low-level FAI field parsers; caller raises.
Aliases
Section titled “Aliases”OK = FaiErrorCode(Int8(0))INT_EMPTY = FaiErrorCode(Int8(1))INT_INVALID = FaiErrorCode(Int8(2))FIELD_COUNT = FaiErrorCode(Int8(3))
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