Added ability to throw different 'types' of errors based on Bootstrap alert types