Skip to content

Latest commit

 

History

History
226 lines (134 loc) · 6.72 KB

compiler-exceptions.rst

File metadata and controls

226 lines (134 loc) · 6.72 KB

Compiler Exceptions

Vyper raises one or more of the following exceptions when an issue is encountered while compiling a contract.

Whenever possible, exceptions include a source highlight displaying the location of the error within the code:

vyper.exceptions.VariableDeclarationException: line 79:17 Persistent variable undeclared: highstBid
     78     # If bid is less than highest bid, bid fails
---> 79     if (value <= self.highstBid):
-------------------------^
     80         return False

CompilerPanic