package acgtk
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha512=07f391d052090bb70c10ec511fdc53af764954cbe1c30093778984c5ed41a4327573fdac0890c6fd619ff9827725572eb7b8a7545bd8ccb7f5bddb84d2d7f7cc
doc/acgtk.scripting/Scripting/Errors/Script_l/index.html
Module Errors.Script_lSource
This module contains the type for other script errors.
type t = | NoSignatureType of string(*
*)NoSignatureType tyis raised when a typetyis 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) option(*
*)DifferentSig (var, Some (sig1, sig2))is raised when a type variable is used in at least two contexts with different signaturessig1andsig2.| AlreadyExistingFun of string(*
*)AlreadyExistingFun funcwhen a functionfuncis defined with a name already used.| UnusedVariable of string(*
*)UnusedVariable varis raised when a function is defined with a unused variablevaras paramenter.| UnknownFunction of string(*
*)UnknownFunction funcis raised when an unknown functionfuncis called.| UnknownParameter of string * string(*
*)UnknownParameter (func, param)when a functionfuncis called with an unknown parameterparam.| ParameterRepeated of string * string(*
*)ParameterRepeated (func, param)is raised when a functionfuncis called with at least twice the same parameterparam.| TooMuchArgs of string(*
*)TooMuchArgs funcis raised when a function is called with too much unnamed arguments.| NoLastValue(*
*)NoLastValueis raised when the functionlastis called before executing a command returning a value.| InvalidSpecialFuncCall of string(*
*)InvalidSpecialFuncCall funcis raised when a special functionfuncis used in a command with multiple functions.| MissingFuncTermList of string(*
*)MissingFuncTermList funcis raised when a functionfuncwhich needs terms as input is called without terms.| TermListNotAllowed of string(*
*)TermListNotAllowed funcis raised when a functionfuncwhich does not take terms as input is called with terms.| EmptyPipe of string(*
*)EmptyPipe funcis raised when a functionfuncis called with an invalid pipe.| EmptyHelp of string(*
*)EmptyHelp func_preffixis raised when the function "help" is called with an argumentfunc_preffixthat matches no functions of the environment| AbsSigMismatch of AcgData.Acg_lexicon.Data_Lexicon.t * AcgData.Acg_lexicon.Data_Lexicon.t(*
*)lexicon (lex1,lex)occurs when the abstract signature of the lexiconlex2does not match the current abstract signature oflex1in arealizecommand.| Other(*
*)Otheris for an unknown error.