Set error content and change alert type to danger