cosmos-sdk/errors/CHANGELOG.md

2.4 KiB

Changelog

[Unreleased]

Changes

  • #24568 Registering the same error code twice will no longer panic - a warning error will be logged to stderr.

v1.0.2

Improvements

  • #23901 Minor dependency improvements.

v1.0.1

Improvements

  • #18918 Improve IsOf by returning earlier when the checked error is nil.

v1.0.0

Features

  • #15989 Add ErrStopIterating for modules to use for breaking out of iteration.
  • #10779 Import code from the github.com/cosmos/cosmos-sdk/types/errors package.
  • #11274 Add RegisterWithGRPCCode function to associate a gRPC error code with errors.

Improvements

  • #11762 Improve error messages.

API Breaking

  • #11274 New now is an alias for Register and should only be used in initialization code.

Bug Fixes

  • #11714 Add wrapped error messages in GRPCStatus()