declare function handleError(context: {
    [key: string]: any;
}): (err: any) => never;

export { handleError };
