dfinity / sdk

IC SDK: a Software Development Kit for creating and managing canister smart contracts on the ICP blockchain.
https://internetcomputer.org/developers
Apache License 2.0
173 stars 84 forks source link

refactor: Consolidate dfx-core identity errors into error/identity.rs #3848

Closed ericswanson-dfinity closed 3 months ago

ericswanson-dfinity commented 3 months ago

Description

There isn't really any benefit to having a bunch of tiny files each of which defiles a single error. This PR moves all error types from dfx-core/errors/identity/*.rs to dfx-core/errors/identity.rs. This PR makes no changes to the error types themselves, only moves them.

I'll be following up with changes that split up FsError into per-method error types, which will add some new error types, so I wanted to do this first.

How Has This Been Tested?

Refactor covered by existing tests

Checklist: