INVALID_LABEL_USAGE error class

SQLSTATE: 42K0L

The usage of the label <labelName> is invalid.

DOES_NOT_EXIST

Label was used in the <statementType> statement, but the label does not belong to any surrounding block.

ITERATE_IN_COMPOUND

ITERATE statement cannot be used with a label that belongs to a compound (BEGIN…END) body.