Skip to content

Base must be unique #1

@mozey

Description

@mozey

By convention the Base error msg is the package name. Consider packages with the same name.

Random string to make Base.msg unique each time constructor is called, add Base.uid field?

Example

// Msg is the same, but error cause must be unique 
var ErrBaseA = errors.NewCause("xxx")
var ErrBaseB = errors.NewCause("xxx")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions