X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=E2Manager%2Fe2managererrors%2Frouting_manager_error.go;h=5141176e05af1c99560b6d6f7c131b9b90ced63f;hb=901061622d0e36739e5803d1423c1e1da8d627ab;hp=529df35d1471eeb4fdc9232b0beb180405e2d127;hpb=efcb4528362460aa2249d319c9752b63bb720fe2;p=ric-plt%2Fe2mgr.git diff --git a/E2Manager/e2managererrors/routing_manager_error.go b/E2Manager/e2managererrors/routing_manager_error.go index 529df35..5141176 100644 --- a/E2Manager/e2managererrors/routing_manager_error.go +++ b/E2Manager/e2managererrors/routing_manager_error.go @@ -15,15 +15,24 @@ // 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 { + *BaseError } func NewRoutingManagerError() *RoutingManagerError { - return &RoutingManagerError{} + return &RoutingManagerError{ + &BaseError{ + Code: 511, + Message: "No Routing Manager Available", + }, + } } func (e *RoutingManagerError) Error() string { - return "Routing Manager Error" + return e.Message }