X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=common%2FinternalError.go;fp=common%2FinternalError.go;h=bb27b06bd23940d9d21ae4e12f15543a3bbfc3c9;hb=e8bf2a1385104b91e652ef248cd637217b56634f;hp=386c5e2f4c33d978a59fc7d5eea9163b13772d11;hpb=70a03728e0fb0826efb6036997dbdde1d1feef54;p=ric-plt%2Fnodeb-rnib.git diff --git a/common/internalError.go b/common/internalError.go index 386c5e2..bb27b06 100644 --- a/common/internalError.go +++ b/common/internalError.go @@ -18,13 +18,13 @@ 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() }