improve rendering of errors when basket can’t be created, DRY code a bit