MCPcopy Create free account
hub / github.com/BrasilAPI/BrasilAPI / FeriadosIndex

Function FeriadosIndex

pages/api/feriados/v1/index.js:4–9  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2import BadRequestError from '@/errors/BadRequestError';
3
4async function FeriadosIndex() {
5 throw new BadRequestError({
6 message: 'Por favor informe um ano.',
7 type: 'validation_error',
8 });
9}
10
11export default app().get(FeriadosIndex);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected