Module: Sashite::Feen::Errors::Argument::Messages Private
- Defined in:
- lib/sashite/feen/errors/argument/messages.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Centralized error messages for FEEN parsing and validation.
EPIN-related errors (invalid piece tokens) and SIN-related errors (invalid style tokens) are propagated from their respective dependencies.
Constant Summary collapse
- EMPTY_INPUT =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
General input errors
"empty input"- INPUT_TOO_LONG =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
"input too long"- INVALID_FIELD_COUNT =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
"invalid field count"- CONTAINS_LINE_BREAKS =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
"input contains line breaks"- PIECE_PLACEMENT_STARTS_WITH_SEPARATOR =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Piece Placement errors (Field 1)
"piece placement starts with separator"- PIECE_PLACEMENT_ENDS_WITH_SEPARATOR =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
"piece placement ends with separator"- INVALID_EMPTY_COUNT =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
"invalid empty count"- INVALID_HANDS_DELIMITER =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Hands errors (Field 2)
"invalid hands delimiter"- INVALID_HAND_COUNT =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
"invalid hand count"- NON_CANONICAL_HAND_ORDER =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
"hand items are not in canonical order"- INVALID_STYLE_TURN_DELIMITER =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Style-Turn errors (Field 3)
"invalid style-turn delimiter"- STYLE_TOKENS_SAME_CASE =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
"style tokens must have opposite case"