updated ErrorWithDetails