• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

gatewayd-io / gatewayd / 13776933508

10 Mar 2025 11:35PM UTC coverage: 59.642% (+0.04%) from 59.599%
13776933508

Pull #671

github

web-flow
Bump golang.org/x/text from 0.22.0 to 0.23.0

Bumps [golang.org/x/text](https://github.com/golang/text) from 0.22.0 to 0.23.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.22.0...v0.23.0)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Pull Request #671: Bump golang.org/x/text from 0.22.0 to 0.23.0

5558 of 9319 relevant lines covered (59.64%)

18.15 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/errors/gatewayd_error.go
1
package errors
2

3
import "fmt"
4

5
type ErrCode uint32
6

7
type GatewayDError struct {
8
        Code          ErrCode
9
        Message       string
10
        OriginalError error
11
}
12

13
// Error returns the error message of the GatewayDError.
14
func (e *GatewayDError) Error() string {
×
15
        if e.OriginalError == nil {
×
16
                return e.Message
×
17
        }
×
18
        return fmt.Sprintf("%s, OriginalError: %s", e.Message, e.OriginalError)
×
19
}
20

21
// Wrap wraps the original error.
22
func (e *GatewayDError) Wrap(err error) *GatewayDError {
×
23
        return &GatewayDError{
×
24
                Code:          e.Code,
×
25
                Message:       e.Message,
×
26
                OriginalError: err,
×
27
        }
×
28
}
×
29

30
// Unwrap returns the original error.
31
func (e *GatewayDError) Unwrap() error {
×
32
        return e.OriginalError
×
33
}
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc