@jrosadob/nestjs-sophia-framework
Version:
Franework para microservicios en NestJS
11 lines (10 loc) • 323 B
TypeScript
import { Error } from './error';
import { PaginationDto } from './pagination.dto';
export declare class Result<T> {
entity: T | null;
entities: T[] | null;
hasError: boolean;
errors: Error[] | null;
pagination: PaginationDto;
addError(loggerId: string, statusCode: number, message: string): void;
}