X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=E2Manager%2Fe2managererrors%2Frequest_validation_error.go;h=4d833c473ce547e8fe8d4a050994f385af693da1;hb=3d2b421d8ff9e2a6de7c7e64d51b9e292b05e7c2;hp=2029aa7fce00d613e03aa6d075e25d6dd4cad655;hpb=966f2102168cad95b8aa1bc83241b4b6730ab1e2;p=ric-plt%2Fe2mgr.git diff --git a/E2Manager/e2managererrors/request_validation_error.go b/E2Manager/e2managererrors/request_validation_error.go index 2029aa7..4d833c4 100644 --- a/E2Manager/e2managererrors/request_validation_error.go +++ b/E2Manager/e2managererrors/request_validation_error.go @@ -13,17 +13,20 @@ // 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 RequestValidationError struct { - Err BaseError + *BaseError } func NewRequestValidationError() *RequestValidationError { return &RequestValidationError{ - BaseError{ + &BaseError{ Code: 402, Message: "Validation error", }, @@ -31,5 +34,5 @@ func NewRequestValidationError() *RequestValidationError { } func (e *RequestValidationError) Error() string { - return e.Err.Message + return e.Message }