Skip to content

Commit

Permalink
Use Text not String in exception docs (#10287)
Browse files Browse the repository at this point in the history
changelog_begin
changelog_end
  • Loading branch information
cocreature authored Jul 15, 2021
1 parent 5382253 commit d96b54e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/daml/code-snippets-dev/Exceptions.daml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ template Error
exception MyException
with
field1 : Int
field2 : String
field2 : Text
where
message "MyException(" <> show field1 <> ", " <> show field2 <> ")"
-- END_EXCEPTION
Expand Down

0 comments on commit d96b54e

Please sign in to comment.