[TASK] change TypeError to InvalidRequestError
[TASK] change TypeError to InvalidRequestError

so they properly get handled by the error-handler and result in 400's

xdv/ripple-rest,sparro/ripple-rest,lumberj/ripple-rest,dmathewwws/my-ripple-rest,bankonme/ripple-rest,radr/radr-rest,hserang/ripple-rest,dmathewwws/my-ripple-rest,sparro/ripple-rest,dinexcode/ripple-rest-dinex,ripple/ripple-rest,Treefunder/ripple-rest,dmathewwws/my-ripple-rest