Created
March 27, 2025 18:35
-
-
Save Vatsalya-singhi/dfd28b516be96defdffa1a5674aa0966 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Get() | |
@UseFilters(HttpExceptionFilter) // Apply to only this method | |
findAll() { | |
throw new HttpException('Users not found', HttpStatus.NOT_FOUND); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment