MySQL error code
MySQL error 1337
MySQL server error 1337 is ER_SP_VARCOND_AFTER_CURSHNDLR, reported with SQLSTATE 42000.
Variable or condition declaration after cursor or handler declaration
| Error | 1337 |
|---|---|
| Name | ER_SP_VARCOND_AFTER_CURSHNDLR |
| SQLSTATE | 42000 |
| Group | Server errors |
In other databases
Source: MySQL 8.4 Error Reference