Skip to content

error: Refactor the overarching litep2p::Error #204

@lexnv

Description

@lexnv

The litep2p::Error contains multiple variants that grow over time.

Clean up the error into something more coherent and group errors by individual components / use-case, similar to the DialError.

This will help us provide more descriptive error messages and identify easily the place of occurrence:

pub enum Error {

Tasks

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestpriority: lowNice-to-have improvements, optimizations, or future considerationstodoExtracted from code todos

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions