UNPKG

@eggjs/onerror

Version:
13 lines (12 loc) 364 B
import { type OnerrorError } from 'koa-onerror'; import type { ILifecycleBoot, EggCore } from '@eggjs/core'; export interface OnerrorErrorWithCode extends OnerrorError { code?: string; type?: string; errors?: any[]; } export default class Boot implements ILifecycleBoot { private app; constructor(app: EggCore); didLoad(): Promise<void>; }