Skip to content
This repository was archived by the owner on May 31, 2025. It is now read-only.

Commit 9799c62

Browse files
committed
feat(status): add Unwrap
1 parent 5da6965 commit 9799c62

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

status/status.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,10 @@ func (e Status) Error() string {
9595
return message
9696
}
9797

98+
func (e Status) Unwrap() error {
99+
return e.err
100+
}
101+
98102
func (e Status) Extra() any {
99103
return e.extra
100104
}

0 commit comments

Comments
 (0)