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

gatewayd-io / gatewayd / 13685957619

05 Mar 2025 09:32PM UTC coverage: 59.599% (-4.1%) from 63.709%
13685957619

push

github

web-flow
Update deps (#666)

* Update Go and SDK
* Update direct deps
* Update buf deps
* Regenerate stubs
* Update Go version in workflows
* Fix linter issues
* Update crypto library to resolve CVE-2025-22869
* Update pattern to match the version info
* Fix Redis testcontainer

5554 of 9319 relevant lines covered (59.6%)

18.14 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