Exact scope of GeneralError?
- gyorgybalazsiOP
Can you tell me what is the exact scope of GeneralError? I mean exactly which error cases are covered by it.
- Remy 2
Hi,
Internally the
GeneralErroris only thrown by the Daml builtinerror : Text -> a(when compiled to LF >= 1.14).However we use the
errorbuiltin to report illegal argument errors in the standard library (for example inDA.List,DA.Math,DA.Action,DA.Logic,DA.Date,DA.Text,DA.Optional) and implement the convenience placeholderundefined : afromDA.Prelude. - gyorgybalazsi
Thank you, Remy!