X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=E2Manager%2Fe2managererrors%2Finvalid_json_error.go;h=9d1a75ece03179c328c92326a45b8b4592a13713;hb=d2f1a29d3f1cc779045148a82729f644e6110776;hp=17a356430a80ab4b3a2a1e5aef119cbb6681b5fe;hpb=549944ecfb9e75ed4a03dd6d10e4160b89f26ca8;p=ric-plt%2Fe2mgr.git diff --git a/E2Manager/e2managererrors/invalid_json_error.go b/E2Manager/e2managererrors/invalid_json_error.go index 17a3564..9d1a75e 100644 --- a/E2Manager/e2managererrors/invalid_json_error.go +++ b/E2Manager/e2managererrors/invalid_json_error.go @@ -13,18 +13,21 @@ // 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 InvalidJsonError struct { - Err BaseError + *BaseError } func NewInvalidJsonError() *InvalidJsonError { return &InvalidJsonError{ - BaseError{ + &BaseError{ Code: 401, Message: "corrupted json", }, @@ -32,6 +35,6 @@ func NewInvalidJsonError() *InvalidJsonError { } func (e *InvalidJsonError) Error() string { - return e.Err.Message + return e.Message }