show returned error message

instead of just displaying a general error 
when we get a error response.
added the option to pass in additional steps
updated example