Better error messaging when given an unsupported algorithm