RIC-475 - E2M E2T init unit tests
[ric-plt/e2mgr.git] / E2Manager / e2managererrors / rnib_db_error.go
index 7a18181..a38eed7 100644 (file)
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-//
+
+//  This source code is part of the near-RT RIC (RAN Intelligent Controller)
+//  platform project (RICP).
+
 
 package e2managererrors
 
 type RnibDbError struct {
-       Err BaseError
+       *BaseError
 }
 
 func NewRnibDbError() *RnibDbError {
        return &RnibDbError {
-               BaseError{
+               &BaseError{
                        Code: 500,
                        Message: "RNIB error",
                },
@@ -31,5 +34,5 @@ func NewRnibDbError() *RnibDbError {
 }
 
 func (e *RnibDbError) Error() string {
-       return e.Err.Message
+       return e.Message
 }
\ No newline at end of file