10.10.2.1 Error Statement
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

10.10.2.1 Error Statement

Visual Studio .NET 2003

An Error statement throws a System.Exception exception containing a Visual Basic 6 exception number. The expression must be classified as a value and its type must be implicitly convertible to Integer.

ErrorStatement ::= Error Expression StatementTerminator

See Also

10.10.2.2 On Error Statement | 10.10.2.3 Resume Statement | 10.10.2 Unstructured Exception-Handling Statements | Error Statement (Visual Basic Language Reference) | Unstructured Exception Handling (Visual Basic Language Concepts)

Show:
© 2016 Microsoft