diff --git a/docs/source/daml/code-snippets-dev/Exceptions.daml b/docs/source/daml/code-snippets-dev/Exceptions.daml index ce5e98375b..e475783058 100644 --- a/docs/source/daml/code-snippets-dev/Exceptions.daml +++ b/docs/source/daml/code-snippets-dev/Exceptions.daml @@ -16,7 +16,7 @@ template Error exception MyException with field1 : Int - field2 : String + field2 : Text where message "MyException(" <> show field1 <> ", " <> show field2 <> ")" -- END_EXCEPTION