Exception: Synthra::Errors::SyntaxError

Inherits:
ParseError show all
Defined in:
lib/synthra/errors.rb

Overview

Syntax error in DSL file

Raised when the parser encounters invalid syntax that doesn't match the expected DSL grammar.

Examples:

# Missing colon after field name
# User:
#   name text  <- SyntaxError: expected ':'

Constant Summary collapse

ERROR_CODE =
"SYNTAX_ERROR"

Constructor Details

This class inherits a constructor from Synthra::Errors::ParseError