enum SpatialRule: string
Public API: explicitly declared with @visibility public.

The rules of spatial reference system statements whose violation the server reports while it parses them.

Each case holds the server error it mirrors. Source: https://dev.mysql.com/doc/refman/8.4/en/create-spatial-reference-system.html.

Reading the server error of a casedoctest
\SqlSemantics\Platform\MySql\Statement\Server\Problem\SpatialRule::MissingAttribute->value // => 'ER_SRS_MISSING_MANDATORY_ATTRIBUTE'

Cases§

case IdentifierOutOfRange = 'ER_DATA_OUT_OF_RANGE'
case IdentifierZero = 'ER_CANT_MODIFY_SRID_0'
case RepeatedAttribute = 'ER_SRS_MULTIPLE_ATTRIBUTE_DEFINITIONS'
case MissingAttribute = 'ER_SRS_MISSING_MANDATORY_ATTRIBUTE'
case BlankName = 'ER_SRS_NAME_CANT_BE_EMPTY_OR_WHITESPACE'
case BlankOrganization = 'ER_SRS_ORGANIZATION_CANT_BE_EMPTY_OR_WHITESPACE'
case ControlCharacter = 'ER_SRS_INVALID_CHARACTER_IN_ATTRIBUTE'
case TooLong = 'ER_SRS_ATTRIBUTE_STRING_TOO_LONG'

Test cases 2§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 1
Other tests reaching this symbol 1

Relations§

Constant reads 17
Type declarations 1