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, Equatable, ImplicitlyCopyable, ImplicitlyDestructible, Movable, RegisterPassable, TrivialRegisterPassable
Methods
Section titled “Methods”__init__
Section titled “__init__”fn __init__(value: Int8) -> SelfArgs:
- value (
Int8)
Returns:
Self
__eq__
Section titled “__eq__”fn __eq__(self, other: Self) -> BoolArgs:
- self (
Self) - other (
Self)
Returns:
Bool
__ne__
Section titled “__ne__”fn __ne__(self, other: Self) -> BoolArgs:
- self (
Self) - other (
Self)
Returns:
Bool
message
Section titled “message”fn message(self) -> StringArgs:
- self (
Self)
Returns:
String