UNPKG

@adguard/agtree

Version:
9 lines (8 loc) 245 B
/** * Converts error object to error with message. This method might be helpful to handle thrown errors. * * @param error Error object. * * @returns Message of the error. */ export declare function getErrorMessage(error: unknown): string;