We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dedc188 + f084dd2 commit 221529dCopy full SHA for 221529d
pkg/codefresh/common.go
@@ -3,28 +3,17 @@ package codefresh
3
import (
4
"fmt"
5
"strings"
6
-
7
)
8
9
type graphqlError struct {
10
- Message string
11
- Locations [] struct {
12
- Line int
13
- Column int
14
- }
15
- Extensions struct {
16
- Code string
17
- Exception struct {
18
- Stacktrace []string
19
20
+ Message string
+ Extensions string
21
}
22
23
type graphqlErrorResponse struct {
24
- errors []graphqlError
+ errors []graphqlError
25
concatenatedErrors string
26
27
28
29
func (e graphqlErrorResponse) Error() string {
30
@@ -37,4 +26,4 @@ func (e graphqlErrorResponse) Error() string {
37
38
e.concatenatedErrors = sb.String()
39
return e.concatenatedErrors
40
-}
+}
0 commit comments