Changed some error exceptions, (Type & Value).