Skip to content

MESSAGES

reference
1 min readUpdated

Kind: Constant

Source: packages/core/constants.ts

Part of: Core

Definition

ts
{
  APPLICATION_START: `Starting Nest application...`,
  APPLICATION_READY: `Nest application successfully started`,
  MICROSERVICE_READY: `Nest microservice successfully started`,
  UNKNOWN_EXCEPTION_MESSAGE: 'Internal server error',
  ERROR_DURING_SHUTDOWN: 'Error happened during shutdown',
  CALL_LISTEN_FIRST:
    'app.listen() needs to be called before calling app.getUrl()',
}

Value

ts
{
  APPLICATION_START: `Starting Nest application...`,
  APPLICATION_READY: `Nest application successfully started`,
  MICROSERVICE_READY: `Nest microservice successfully started`,
  UNKNOWN_EXCEPTION_MESSAGE: 'Internal server error',
  ERROR_DURING_SHUTDOWN: 'Error happened during shutdown',
  CALL_LISTEN_FIRST:
    'app.listen() needs to be called before calling app.getUrl()',
}

Relationships

  • IMPORTS → EnhancerSubtype

Used by

3 references from 3 files. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.

Imported by (3)

  • BaseRpcExceptionFilterpackages/microservices/exceptions/base-rpc-exception-filter.ts:15
  • NestMicroservicepackages/microservices/nest-microservice.ts:35
  • ErrorPayloadpackages/websockets/exceptions/base-ws-exception-filter.ts:11

Was this page helpful?

Download as PDF
MESSAGES — NestJS head-to-head