Skip to content

Commit

Permalink
impl
Browse files Browse the repository at this point in the history
  • Loading branch information
itsabgr committed Nov 30, 2024
1 parent 24c36b7 commit 7509b35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion error.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ func (e err[T]) Error() string {
return fmt.Sprint(e.value)
}

func (e err[T]) ErrorValue() any {
func (e err[T]) Value() any {
return e.value
}

Expand Down

0 comments on commit 7509b35

Please sign in to comment.