UNPKG

@euk-labs/nest-beltz

Version:

13 lines 1.01 kB
import { ApiResponseOptions } from '@nestjs/swagger'; /** * The HTTP `404 Not Found` client error response code indicates that the server can't find the requested resource. Links that lead to a * 404 page are often called broken or dead links and can be subject to [link rot](https://en.wikipedia.org/wiki/Link_rot). * * A 404 status code does not indicate whether the resource is temporarily or permanently missing. But if a resource is permanently * removed, a [410](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/410) (Gone) should be used instead of a 404 status. * * @see [404 Bad Request](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404) * @param options These are the same types as ApiResponse */ export declare function NotFoundResponse(options?: ApiResponseOptions): <TFunction extends Function, Y>(target: object | TFunction, propertyKey?: string | symbol, descriptor?: TypedPropertyDescriptor<Y>) => void; //# sourceMappingURL=not-found-response.decorator.d.ts.map