UNPKG

libmodulor

Version:

A TypeScript library to create platform-agnostic applications

6 lines (5 loc) 286 B
import { status } from '@grpc/grpc-js'; import type { HTTPStatusNumber } from '../../../dt/index.js'; import type { CustomError } from '../../../error/index.js'; export declare const MAPPING: Map<HTTPStatusNumber, status>; export declare function errToStatus(err: CustomError): status;