Move RGS `GraphSyncError` into the top-level module
authorMatt Corallo <git@bluematt.me>
Thu, 18 Jan 2024 20:53:20 +0000 (20:53 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 22 Apr 2024 21:57:48 +0000 (21:57 +0000)
commitb1367839784ffa548df5f9432b5b0ddd703cb329
tree1bf7231cf8332539f49b53e0c8b2f53478f4d25b
parentda620285eec3978841edafa061d03783c751a6fc
Move RGS `GraphSyncError` into the top-level module

The top-level module is only a few hundred lines, so there's not a
lot of reason to hide the `GraphSyncError` in its own module.
Instead, we simply move it to the top-level `lib.rs`, which doesn't
change the public API as it was previously re-exported at the top
level.
lightning-rapid-gossip-sync/src/error.rs [deleted file]
lightning-rapid-gossip-sync/src/lib.rs
lightning-rapid-gossip-sync/src/processing.rs