Added basic error objects
Added additional code to for number types