Skip to content

How to change format return wrapped error message #226

@putrafajarh

Description

@putrafajarh

func (w *withMessage) Error() string { return w.msg + ": " + w.cause.Error() }

how can i change format return error message, to this

func (w *withMessage) Error() string { return w.cause.Error()+ " | " + w.msg }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions