UNPKG

@redwoodjs-stripe/api

Version:

API-side code for RedwoodJS-Stripe projects

15 lines (11 loc) 413 B
import { inspect } from "node:util"; const nonNilAssertionError = (context, data) => new Error(`Unexpectedly received null or undefined data. This may be a bug in redwoodjs-stripe. Please file an issue for it over here, and provide with the details given below: https://github.com/chrisvdm/redwoodjs-stripe/issues/new", **Context:** ${context} **Data:** ${inspect(data)} `); export { nonNilAssertionError };