Raising exception on response with error.