Skip to content

Commit 347c1cf

Browse files
friedgerwileyj
authored andcommitted
Improve error description of ft-mint?
1 parent 3699566 commit 347c1cf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

clarity/src/vm/docs/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2082,7 +2082,8 @@ type defined using `define-fungible-token`. The increased token balance is _not_
20822082
rather minted.
20832083
20842084
If a non-positive amount is provided to mint, this function returns `(err 1)`. Otherwise, on successfuly mint, it
2085-
returns `(ok true)`.
2085+
returns `(ok true)`. If this call would result in more supplied tokens than defined by the total supply in
2086+
`define-fungible-token`, then a `SupplyOverflow` runtime error is thrown.
20862087
",
20872088
example: "
20882089
(define-fungible-token stackaroo)

0 commit comments

Comments
 (0)