@halsp/http
Version:
支持 Halsp HTTP 请求
10 lines (8 loc) • 333 B
text/typescript
import { StatusCodes } from "http-status-codes";
import { ExceptionMessage } from "@halsp/core";
import { HttpException } from "./http-exception";
export class HttpVersionNotSupportedException extends HttpException {
constructor(error?: string | ExceptionMessage) {
super(StatusCodes.HTTP_VERSION_NOT_SUPPORTED, error);
}
}