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
/
request_validation_error.go
diff --git
a/E2Manager/e2managererrors/request_validation_error.go
b/E2Manager/e2managererrors/request_validation_error.go
index
2029aa7
..
d2cd0bf
100644
(file)
--- a/
E2Manager/e2managererrors/request_validation_error.go
+++ b/
E2Manager/e2managererrors/request_validation_error.go
@@
-18,12
+18,12
@@
package e2managererrors
type RequestValidationError struct {
package e2managererrors
type RequestValidationError struct {
-
Err
BaseError
+
*
BaseError
}
func NewRequestValidationError() *RequestValidationError {
return &RequestValidationError{
}
func NewRequestValidationError() *RequestValidationError {
return &RequestValidationError{
- BaseError{
+
&
BaseError{
Code: 402,
Message: "Validation error",
},
Code: 402,
Message: "Validation error",
},
@@
-31,5
+31,5
@@
func NewRequestValidationError() *RequestValidationError {
}
func (e *RequestValidationError) Error() string {
}
func (e *RequestValidationError) Error() string {
- return e.
Err.
Message
+ return e.Message
}
}