Skip to content

toHttpException — @gj-kit/nest-operations-jobs

A public function from @gj-kit/nest-operations-jobs. The signature below is taken directly from the 0.1.1 release declaration.

import { toHttpException } from '@gj-kit/nest-operations-jobs';
/** Single mapping table from library outcomes to HTTP. Nothing else maps status codes. */
declare function toHttpException(input: OperationsJobsError$1 | JobExecutionResult): HttpException | null;

This declaration is the source of truth for parameters, optionality, generics, return values, and public union/type contracts. Check the package golden path and this subpath’s import conditions for required environment, permission, and error boundaries before calling it.

  • Package: @gj-kit/nest-operations-jobs
  • Version: 0.1.1
  • Public entry: .
  • Source: GitHub