ÿØÿà JFIF H H ÿÛ C GIF89;
| System: Linux srv913213 5.15.0-190-generic #200-Ubuntu SMP Fri Aug 7 15:06:04 UTC 2026 x86_64 Current Path : /var/www/talentgenesis_admin_backend/node_modules/rxjs/src/internal/util/ |
| Current File : /var/www/talentgenesis_admin_backend/node_modules/rxjs/src/internal/util/throwUnobservableError.ts |
/**
* Creates the TypeError to throw if an invalid object is passed to `from` or `scheduled`.
* @param input The object that was passed.
*/
export function createInvalidObservableTypeError(input: any) {
// TODO: We should create error codes that can be looked up, so this can be less verbose.
return new TypeError(
`You provided ${
input !== null && typeof input === 'object' ? 'an invalid object' : `'${input}'`
} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`
);
}