silverwolf-x/project / packages /font /src /next-font-error.ts
silverwolf-x's picture
download
raw
242 Bytes
/**
* Throw NextFontError error. Used by the WellKnownErrorsPlugin to format errors thrown by next/font.
*/
export function nextFontError(message: string): never {
const err = new Error(message)
err.name = 'NextFontError'
throw err
}

Xet Storage Details

Size:
242 Bytes
·
Xet hash:
466658dc794312542d572ce8060ad5c81b92bc24793aad9f007ba5ee5f933019

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