/** * Returns the {@link message} first then the {@link error} using {@link errorToLogMessage}. * @param message Summary of the error * @param error The error * @returns */ export default function errorAndMessageToString(message: string | undefined, error: Error): string;