Files
frontend-hideyoshi.com/src/app/shared/model/httpError/httpError.model.ts

13 lines
295 B
TypeScript

import {type Static, Type} from '@sinclair/typebox'
export const HttpError = Type.Object({
title: Type.String(),
status: Type.Number(),
details: Type.String(),
developerMessage: Type.String(),
timestamp: Type.String()
});
export type HttpError = Static<typeof HttpError>;