X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=common%2FinternalError.go;h=eaaae66504ada7e43b26fa54916d19b72cd7386b;hb=refs%2Ftags%2Freader%2Fv1.2.9;hp=386c5e2f4c33d978a59fc7d5eea9163b13772d11;hpb=68a3eec5f7e3257141f8043f548608296a6737b1;p=ric-plt%2Fnodeb-rnib.git diff --git a/common/internalError.go b/common/internalError.go index 386c5e2..eaaae66 100644 --- a/common/internalError.go +++ b/common/internalError.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 common type InternalError struct{ - err error + Err error } func NewInternalError(error error) error { - return &InternalError{err:error} + return &InternalError{Err:error} } func (e InternalError) Error() string { - return e.err.Error() + return e.Err.Error() }