makes error handling a little easier by setting the body to the exception when an error is encountered, now child classes can do stuff with it instead of just getting the error string