belgattitude/httpx

View on GitHub
packages/exception/src/index.ts

Summary

Maintainability
A
0 mins
Test Coverage
export * from './base';
export * from './client';
export { createHttpException } from './factory/createHttpException';
export * from './server';
export { isErrorWithErrorStatusCode } from './typeguards/isErrorWithErrorStatusCode';
export { isHttpClientException } from './typeguards/isHttpClientException';
export { isHttpErrorStatusCode } from './typeguards/isHttpErrorStatusCode';
export { isHttpException } from './typeguards/isHttpException';
export { isHttpServerException } from './typeguards/isHttpServerException';
export { isHttpStatusCode } from './typeguards/isHttpStatusCode';
export { isObjectWithErrorStatusCode } from './typeguards/isObjectWithErrorStatusCode';
export type {
  ErrorWithErrorStatusCode,
  HttpErrorStatusCode,
  HttpExceptionParams,
  HttpExceptionParamsWithStatus,
  HttpValidationIssue,
  ObjectWithErrorStatusCode,
} from './types';