Buckets:
silverwolf-x/project / packages /next /src /server /app-render /instant-validation /instant-validation-error.ts
| const INSTANT_VALIDATION_ERROR_DIGEST = 'INSTANT_VALIDATION_ERROR' | |
| /** Check if an error is an exhaustive samples validation error (by digest). */ | |
| export function isInstantValidationError( | |
| err: unknown | |
| ): err is InstantValidationError { | |
| return !!( | |
| err && | |
| typeof err === 'object' && | |
| err instanceof Error && | |
| (err as any).digest === INSTANT_VALIDATION_ERROR_DIGEST | |
| ) | |
| } | |
| export class InstantValidationError extends Error { | |
| digest = INSTANT_VALIDATION_ERROR_DIGEST | |
| } | |
Xet Storage Details
- Size:
- 487 Bytes
- Xet hash:
- 4305a0d343d27f4e89b956eb04aac61f9374df1228534d40642e388db51e1f63
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.