Solidity_exceptionsSource1. Generic errors
Raised when an internal invariant is broken
A syntax error
An error occuring during the typecheck
2. Exceptions raised by the postprocessor
Raised when an immutable is updated outside a construction call
exception ImmutableUpdatedTwice of Solidity_common.Ident.t
* Solidity_common.pos
* Solidity_common.posRaised when an immutable is set twice
exception ConstantUpdatedTwice of Solidity_common.Ident.t
* Solidity_common.pos
* Solidity_common.posRaised when a constant is set twice
Raised when a constant is updated
Raised when an immutable is read during construction
Raised when a constant is left undefined after construction
Raised when an immutable is left undefined
Raised when constants are recursively defined
Raised when a constant is defined with a non trivial expression
Raised when a calldata is modified
exception UninitializedReadLocal of Solidity_ast.storage_location
* Solidity_common.Ident.t
* Solidity_common.posRaised when a local is read without having been initialized
Raised when there a variable name conflict
Raised when there a function name conflict
exception ImmutableDefinedInInheritingContract of Solidity_common.Ident.t
* Solidity_common.Ident.t * Solidity_common.posRaised when an immutable from an inherited contract is written
exception OverridingNonVirtual of Solidity_common.Ident.t
* Solidity_common.pos
* Solidity_common.posRaised when a non virtual function is overridden
Raised when trying to override a function that does not exist
Raised when trying to override a virtual function without the keyword 'override'
Generic override error
exception NoOverrideMultipleFunDefs of Solidity_common.IdentSet.t
* Solidity_common.Ident.t
* Solidity_common.Ident.tRaised when there is a conflict between inherited virtual functions and nothing overrides them.
exception PureFunctionReadsGlobal of Solidity_common.Ident.t
* Solidity_common.Ident.t
* Solidity_common.posRaised when a pure function reads a global
exception ForbiddenGlobalWrite of Solidity_common.Ident.t
* Solidity_common.Ident.t
* Solidity_common.posRaised when a pure/view function writes a global
exception ForbiddenCall of Solidity_common.Ident.t
* Solidity_ast.fun_mutability
* Solidity_common.Ident.t
* Solidity_ast.fun_mutability
* Solidity_common.posRaised when a function calls another one with a less permissive mutability
Raised when a read access is made in a pure function
Raised when the state is written in a pure/view function
exception InconsistentVisibility of Solidity_common.Ident.t
* string
* Solidity_common.pos
* Solidity_common.posRaised when there is a selector conflict between functions
Raised when there is no placeholder in a modifier
Raised when a file global is not a constant
val type_error :
Solidity_common.pos ->
('a, Format.formatter, unit, unit, unit, 'b) format6 ->
'a