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.

Examples:

raise Errors::Argument, Messages::EMPTY_INPUT

API:

  • private

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

API:

  • private

"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.

API:

  • private

"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.

API:

  • private

"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.

API:

  • private

"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)

API:

  • private

"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.

API:

  • private

"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.

API:

  • private

"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)

API:

  • private

"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.

API:

  • private

"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.

API:

  • private

"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)

API:

  • private

"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.

API:

  • private

"style tokens must have opposite case"