error handler change export

This commit is contained in:
monoid 2021-01-01 03:26:25 +09:00
parent 5bda122da9
commit 5a733b747f
1 changed files with 2 additions and 2 deletions

View File

@ -1,12 +1,12 @@
import {Context, Next} from 'koa';
interface ErrorFormat {
export interface ErrorFormat {
code: number,
message: string,
detail?: string
}
export class ClientRequestError implements Error{
class ClientRequestError implements Error{
name: string;
message: string;
stack?: string | undefined;