Skip to content

DomainError doesn't add underlying cause to message #1

@virmundi

Description

@virmundi

func (d *DomainError) Error() string {
if d == nil {
return "domain error was nil"
}
kind := toHuman[d.Kind]
return fmt.Sprintf("%s - %s", kind, d.Message)
}

should include the underlying cause if available.

Metadata

Metadata

Assignees

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