silverwolf-x/project / packages /next /src /shared /lib /invariant-error.ts
silverwolf-x's picture
download
raw
268 Bytes
export class InvariantError extends Error {
constructor(message: string, options?: ErrorOptions) {
super(
`Invariant: ${message.endsWith('.') ? message : message + '.'} This is a bug in Next.js.`,
options
)
this.name = 'InvariantError'
}
}

Xet Storage Details

Size:
268 Bytes
·
Xet hash:
940d36449358ef653c54253d2b4f5ef4d50e62c98a36cb40ceb649aef1e0fb02

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.