How to use the @marblejs/core.HttpStatus.NOT_FOUND function in @marblejs/core

To help you get started, we’ve selected a few @marblejs/core examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github marblejs / example / src / api / movies / effects / getMovie.effect.ts View on Github external
catchError(() => throwError(
        new HttpError('Movie does not exist', HttpStatus.NOT_FOUND)
      ))
    ))
github marblejs / example / src / api / common / effects / notFound.effect.ts View on Github external
req$.pipe(switchMap(() =>
    throwError(new HttpError('Route not found', HttpStatus.NOT_FOUND))
  ));
github edbzn / reactive-blog / packages / server / src / api / common / effects / not-found.effect.ts View on Github external
  req$.pipe(switchMap(() => throwError(new HttpError('Route not found', HttpStatus.NOT_FOUND))));
github edbzn / reactive-blog / packages / server / src / api / article / effects / get-article-by-id.effect.ts View on Github external
        catchError(() => throwError(new HttpError('Article does not exist', HttpStatus.NOT_FOUND)))
      )
github marblejs / example / src / api / api.controller.ts View on Github external
switchMap(() =>
      throwError(new HttpError('Route not found', HttpStatus.NOT_FOUND))
    )
github marblejs / example / src / api / actors / effects / getActor.effect.ts View on Github external
catchError(() => throwError(
        new HttpError('Actor does not exist', HttpStatus.NOT_FOUND)
      ))
    ))
github marblejs / example / src / api / users / effects / getMe.effect.ts View on Github external
catchError(() => throwError(
      new HttpError('User does not exist', HttpStatus.NOT_FOUND)
    ))
  );
github marblejs / marble / packages / @integration / src / effects / api.effects.ts View on Github external
mergeMap(() => throwError(
      new HttpError('Route not found', HttpStatus.NOT_FOUND)
    )),
  )));
github edbzn / reactive-blog / packages / server / src / api / user / effects / get-me.effect.ts View on Github external
throwError(() =>
        err instanceof HttpError ? err : new HttpError('User does not exist', HttpStatus.NOT_FOUND)
      )
github marblejs / marble / packages / @integration / src / effects / user.effects.ts View on Github external
catchError(() => throwError(
        new HttpError('User does not exist', HttpStatus.NOT_FOUND)
      ))
    )),