Error represents a tokenization error with precise location information. This type provides structured error reporting with line and column positions, making it easy for users to identify and fix SQL syntax issues. Note: Modern code should use the errors from pkg/errors package instead, which prov
| 38 | // } |
| 39 | // } |
| 40 | type Error struct { |
| 41 | Message string // Human-readable error message |
| 42 | Location models.Location // Position where the error occurred (1-based) |
| 43 | } |
| 44 | |
| 45 | // Error implements the error interface, returning a formatted error message |
| 46 | // with location information. |
nothing calls this directly
no outgoing calls
no test coverage detected