Errors.Script_lSourceThis module contains the type for other script errors.
type t = | NoSignatureType of stringNoSignatureType ty is raised when a type ty is used without signature to interpret it.
| NoSignatureTerm| WrongSignature of string * string| OnlyLexicon of string| ArgumentMissing of string * string| DifferentSig of string
* (AcgData.Signature.Data_Signature.t * AcgData.Signature.Data_Signature.t)
optionDifferentSig (var, Some (sig1, sig2)) is raised when a type variable is used in at least two contexts with different signatures sig1 and sig2.
| AlreadyExistingFun of stringAlreadyExistingFun func when a function func is defined with a name already used.
| UnusedVariable of stringUnusedVariable var is raised when a function is defined with a unused variable var as paramenter.
| UnknownFunction of stringUnknownFunction func is raised when an unknown function func is called.
| UnknownParameter of string * stringUnknownParameter (func, param) when a function func is called with an unknown parameter param.
| ParameterRepeated of string * stringParameterRepeated (func, param) is raised when a function func is called with at least twice the same parameter param.
| TooMuchArgs of stringTooMuchArgs func is raised when a function is called with too much unnamed arguments.
| NoLastValueNoLastValue is raised when the function last is called before executing a command returning a value.
| InvalidSpecialFuncCall of stringInvalidSpecialFuncCall func is raised when a special function func is used in a command with multiple functions.
| MissingFuncTermList of stringMissingFuncTermList func is raised when a function func which needs terms as input is called without terms.
| TermListNotAllowed of stringTermListNotAllowed func is raised when a function func which does not take terms as input is called with terms.
| EmptyPipe of stringEmptyPipe func is raised when a function func is called with an invalid pipe.
| EmptyHelp of stringEmptyHelp func_preffix is raised when the function "help" is called with an argument func_preffix that matches no functions of the environment
| AbsSigMismatch of AcgData.Acg_lexicon.Data_Lexicon.t
* AcgData.Acg_lexicon.Data_Lexicon.tlexicon (lex1,lex) occurs when the abstract signature of the lexicon lex2 does not match the current abstract signature of lex1 in a realize command.
| OtherOther is for an unknown error.