Allows providing of errors as strings