(message: string, details?: unknown)
| 68 | } |
| 69 | |
| 70 | export function badRequestResponse(message: string, details?: unknown): NextResponse { |
| 71 | return errorResponse('BAD_REQUEST', message, 400, details) |
| 72 | } |
| 73 | |
| 74 | export function adminValidationErrorResponse(error: z.ZodError): NextResponse { |
| 75 | return badRequestResponse( |
no test coverage detected