Commit 22279378 authored by nanahira's avatar nanahira

add ApiError

parent 965df601
import { BlankReturnMessageDto } from '../dto';
import { ApiResponse } from '@nestjs/swagger';
export const ApiError = (status: number, description: string) =>
ApiResponse({ status, type: BlankReturnMessageDto, description });
export * from './query';
export * from './api-error';
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment