Skip to content

Public WampResult type wraps private Error type #5

@elast0ny

Description

@elast0ny

pub type WampResult<T> = Result<T, Error>;

The WampResult type which is returned by many public facing APIs wraps the private wampire::error::Error type.

This prevents callers from implementing From(wampire::error::Error) for their custom error types.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions