DA.Stack
Documentation Index
Fetch the complete documentation index at: https://docs.canton.network/llms.txt Use this file to discover all available pages before exploring further.
DA.Stack
Reference documentation for Daml module DA.Stack.
DA.Stack
Module Snapshot
Data Types
data SrcLoc
Location in the source code.
Line and column are 0-based.
Constructors:
SrcLoc| Field | Type | Description | | :---- | :--- | :---------- | | srcLocPackage | Text | | | srcLocModule | Text | | | srcLocFile | Text | | | srcLocStartLine | Int | | | srcLocStartCol | Int | | | srcLocEndLine | Int | | | srcLocEndCol | Int | |
Instances:
instance GetField srcLocEndCol SrcLoc Intinstance GetField srcLocEndLine SrcLoc Intinstance GetField srcLocFile SrcLoc Textinstance GetField srcLocModule SrcLoc Textinstance GetField srcLocPackage SrcLoc Textinstance GetField srcLocStartCol SrcLoc Intinstance GetField srcLocStartLine SrcLoc Intinstance SetField srcLocEndCol SrcLoc Intinstance SetField srcLocEndLine SrcLoc Intinstance SetField srcLocFile SrcLoc Textinstance SetField srcLocModule SrcLoc Textinstance SetField srcLocPackage SrcLoc Textinstance SetField srcLocStartCol SrcLoc Intinstance SetField srcLocStartLine SrcLoc Int
Functions
prettyCallStack
prettyCallStack : CallStack -> Text
Pretty-print a CallStack.
getCallStack
getCallStack : CallStack -> [(Text, SrcLoc)]
Extract the list of call sites from the CallStack.
The most recent call comes first.
callStack
callStack : HasCallStack => CallStack
Access to the current CallStack.
Mirrored from Canton Network official documentation (CC-BY-4.0) by CC Privacy Club for learning purposes.