-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: add a readme to the types/errors package (#17867)
- Loading branch information
1 parent
150013e
commit 76d1918
Showing
1 changed file
with
9 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Errors | ||
|
||
:::note | ||
this package is deprecated, users should use "cosmossdk.io/errors" instead. | ||
::: | ||
|
||
Errors is a package that was deprecated but still contains error types. These error types are meant to be used by the Cosmos SDK to define error types. It is recommended that modules define their own error types, even if it is a duplicate of errors in this package. This will allow developers to more easily debug module errors and separate them from Cosmos SDK errors. | ||
|
||
For this package's documentation, please see the [go documentation](https://pkg.go.dev/github.com/cosmos/[email protected]/types/errors). |