Rocky_Mountain_Vending/.pnpm-store/v10/files/43/a9301bb555aa0b099f4fffb62080c563eda2a38ca7e202075abf08bfa9c74bbb13edebf610ac6b753ac1af568daf30b58550b6246a2adc997876aa86a80567
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

12 lines
564 B
Text

/**
* 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.`
);
}