Refactoring, errors are not thrown anymore
This commit is contained in:
@ -48,8 +48,10 @@ type memory = {
|
||||
assignments: permittedValues VariableMap.t
|
||||
}
|
||||
|
||||
exception AbsentAssignment of string
|
||||
exception WrongType of string
|
||||
exception DivisionByZero of string
|
||||
exception WrongArity of string
|
||||
exception WrongTypeSpecification of string
|
||||
type error = [
|
||||
`AbsentAssignment of string
|
||||
| `WrongType of string
|
||||
| `DivisionByZero of string
|
||||
| `WrongArity of string
|
||||
| `WrongTypeSpecification of string
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user