Skip to content

Commit

Permalink
docs: add a readme to the types/errors package (#17867)
Browse files Browse the repository at this point in the history
  • Loading branch information
tac0turtle authored Sep 25, 2023
1 parent 150013e commit 76d1918
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions types/errors/README.md
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).

0 comments on commit 76d1918

Please sign in to comment.