From 2a36280ed7fc1f561ddc46e0ff3c99896a67a62f Mon Sep 17 00:00:00 2001 From: Ryan Christoffersen <12519942+ryanchristo@users.noreply.github.com> Date: Tue, 24 Aug 2021 00:09:03 -0700 Subject: [PATCH] docs: fix error example (#9990) --- docs/building-modules/errors.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/building-modules/errors.md b/docs/building-modules/errors.md index d1bc36824..0eb3728a5 100644 --- a/docs/building-modules/errors.md +++ b/docs/building-modules/errors.md @@ -18,7 +18,7 @@ of errors is handled via the `types/errors` package. Example: -+++ https://github.com/cosmos/cosmos-sdk/blob/v0.38.1/x/distribution/types/errors.go#L1-L21 ++++ https://github.com/cosmos/cosmos-sdk/blob/v0.43.0/x/distribution/types/errors.go#L1-L21 Each custom module error must provide the codespace, which is typically the module name (e.g. "distribution") and is unique per module, and a uint32 code. Together, the codespace and code