🏡 index : ~doyle/chartered.git

export function getErrorMessage(error: unknown) {
    if (error instanceof Error) return error.message;

    return String(error);
}