Code Review
/
ric-plt
/
e2mgr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Change version after creation of r2 branch
[ric-plt/e2mgr.git]
/
E2Manager
/
e2managererrors
/
invalid_json_error.go
diff --git
a/E2Manager/e2managererrors/invalid_json_error.go
b/E2Manager/e2managererrors/invalid_json_error.go
index
17a3564
..
ac8b3db
100644
(file)
--- a/
E2Manager/e2managererrors/invalid_json_error.go
+++ b/
E2Manager/e2managererrors/invalid_json_error.go
@@
-19,12
+19,12
@@
package e2managererrors
type InvalidJsonError struct {
type InvalidJsonError struct {
-
Err
BaseError
+
*
BaseError
}
func NewInvalidJsonError() *InvalidJsonError {
return &InvalidJsonError{
}
func NewInvalidJsonError() *InvalidJsonError {
return &InvalidJsonError{
- BaseError{
+
&
BaseError{
Code: 401,
Message: "corrupted json",
},
Code: 401,
Message: "corrupted json",
},
@@
-32,6
+32,6
@@
func NewInvalidJsonError() *InvalidJsonError {
}
func (e *InvalidJsonError) Error() string {
}
func (e *InvalidJsonError) Error() string {
- return e.
Err.
Message
+ return e.Message
}
}