diff --git a/Nsmf_PDUSession/errors.go b/Nsmf_PDUSession/errors.go index 5cd4136b..227883fb 100644 --- a/Nsmf_PDUSession/errors.go +++ b/Nsmf_PDUSession/errors.go @@ -33,4 +33,18 @@ var ( Cause: "INSUFFICIENT_RESOURCES_SLICE_DNN", InvalidParams: nil, } + SubscriptionDenied = models.ProblemDetails{ + Title: "Subscription Denied", + Status: http.StatusForbidden, + Detail: "This indicates an error, other than those listed in this table, due to lack of necessary subscription to serve the UE request.", + Cause: "SUBSCRIPTION_DENIED", + InvalidParams: nil, + } + NetworkFailure = models.ProblemDetails{ + Title: "Network failure", + Status: http.StatusGatewayTimeout, + Detail: "The request is rejected due to a network problem.", + Cause: "NETWORK_FAILURE", + InvalidParams: nil, + } )