Error Statement
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated 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 On Error Statement | Resume Statement | 10.10.2 Unstructured Exception-Handling Statements | Error Statement (Visual Basic Language Reference) | Unstructured Exception Handling (Visual Basic Language Concepts)

© 2016 Microsoft