/**
 * Raised when the requested connection doesn't exists in TypeORM.
 */ export class ConnectionNotFoundError extends Error { public name = 'ManagerNotFoundError' ; public get message ( ) { return ( `Cannot get Connection with name "${ this . connectionName }" from the ConnectionManager. ` + `Make sure you have created the connection and called "useContainer(Container)" in your application ` + `before establishing a connection and importing any entity into TypeORM.` ) ; } param type param connectionName constructor ( private connectionName ? ) { super ( ) ; } }