toHttpResponse
toHttpResponse(
error,options?):HttpResponse
Defined in: packages/pipeline-feature-flags/src/http.ts:18
The HTTP answer for a FeatureDisabledError: 403 Forbidden naming the flag, or
with hideFeature a plain 404 Not Found that does not reveal the feature exists.
Parameters
Section titled “Parameters”options?
Section titled “options?”hideFeature?
Section titled “hideFeature?”boolean