import { ELogLevel } from "./ELogLevel"; /** * A convenience class to encapsulate an Error with an ELogLevel. */ export declare class ErrorWithLevel extends Error { level: ELogLevel; meta?: any; /** * * @param level - Log level. Note: 'error' will trigger an alert in our monitoring system * @param message - Summary of log item entry * @param meta - Meta information about the error, typically used to add more info to the log */ constructor(level: ELogLevel, message: string, meta?: any); }