ConnectionNotFoundError

Error which gets thrown when the connection instance was not found in the application context

  
class ConnectionNotFoundError extends HealthCheckError {

  // inherited from terminus/lib/HealthCheckError
  constructor(message: string, causes: any)
  causes: any
  isHealthCheckError: true
}

Constructor

Initializes the error


constructor(cause: any)

Parameters

Option Type Description
cause any

The cause of the health check error