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
[RICPLT-2527] Fix according to acceptance comments
[ric-plt/e2mgr.git]
/
E2Manager
/
e2managererrors
/
routing_manager_error.go
diff --git
a/E2Manager/e2managererrors/routing_manager_error.go
b/E2Manager/e2managererrors/routing_manager_error.go
index
529df35
..
5141176
100644
(file)
--- a/
E2Manager/e2managererrors/routing_manager_error.go
+++ b/
E2Manager/e2managererrors/routing_manager_error.go
@@
-15,15
+15,24
@@
// limitations under the License.
//
// limitations under the License.
//
+// This source code is part of the near-RT RIC (RAN Intelligent Controller)
+// platform project (RICP).
+
package e2managererrors
type RoutingManagerError struct {
package e2managererrors
type RoutingManagerError struct {
+ *BaseError
}
func NewRoutingManagerError() *RoutingManagerError {
}
func NewRoutingManagerError() *RoutingManagerError {
- return &RoutingManagerError{}
+ return &RoutingManagerError{
+ &BaseError{
+ Code: 511,
+ Message: "No Routing Manager Available",
+ },
+ }
}
func (e *RoutingManagerError) Error() string {
}
func (e *RoutingManagerError) Error() string {
- return
"Routing Manager Error"
+ return
e.Message
}
}